View Single Post
Old 08-28-2008, 07:46 PM   #188
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by porkupan View Post
I agree that it's not difficult at all. But there is a couple of issues. First, you have to get a hold of FontCreator. Preferably a licensed copy so no one gets in trouble. Second, how do you propose to automate this process through the PRSCustomizer tool? You would need to know the structure of the TTF file, where does the Font Family Name fit, what name to use for the file, which font you are replacing. All sorts of complications for a tool that was not intended for this sort of task.

You can easily make a separate set of fonts manually, and stick it into the FONT directory on the card. But automating this seems like an overkill.
Well I obviously didn't mean automating it through FontCreator. There is definitely a way do change the font family by opening the font directy in binary mode and doing it that way. In fact, I'm sure there's an open source library that could help with interfacing with the font file.

The final name for the font file is fixed. The reader expects font files to be named "tt0003m_.ttf", "tt0011m_.ttf" and "tt0419m_.ttf". The middle one is the font for body text, that is Dutch Roman AKA "Dutch801 Rm BT" specifically. So that's not a problem.

But finally, I would agree that it could be a lot of work. Doing it by hand takes 15 minutes, but is apparently prone to "operator error" , and PRSC could help with that.
Valloric is offline   Reply With Quote