![]() When the line spacing is looking good, remember the values for "HHead Ascent Offset" and "HHead Descent Offset" and repeat the procedure described above with the Italic, Bold and Bold-Italic version of the font. start Create Fonts (ttf files) and Family Fonts (regular, bold, italic) and Combine them (ttc file) 9,689 views 175 Dislike Share Andrew Acosta (Hermit Comics) 3.83K. ![]() If not, try other values for "HHead Ascent Offset" and/or "HHead Descent Offset". The font type should be TrueType or OpenType (CFF), both formats will work fine on the Cybook.Ĭlick "Save" and ignore any error messages or uncheck "Validate Before Saving" before saving.Ĭopy the saved font to the Cybook and check if the line spacing looks right now. Now click OK and select "File" -> "Generate Fonts.". Most Serif fonts have smaller characters and would probably need something like -200 and 200. I think HHead Ascent Offset -100 and HHead Descent Offset 100 look nice: Also you might look at the free FontForge. Even just opening the font I want to modify and immediately exporting it results in a non-mono flagged font that can't be loaded into gVim. I can't seem to get fontforge to export a mono ttf though. You can make an educated guess by looking at the character size, Vera Sans for example is very large and needs some line spacing. The mkttf.py script converts a set of BDF files into a TTF file, automatically generating the required scalable outlines (actually, any font format supported by FontForge is accepted). If you really must convert to TTF, FontLab and TypeTool will do a better job than the other (ancient) apps. I am attempting to swap out the numerals in an existing monospace font (ttf) with some from a different monospace font (also ttf). "HHead Descent Offset" should be a positive number in most cases around 100 to 200 (the higher the value the smaller the line spacing). Usage: splitttcfonttottf.py Droid.ttc Preinstallation: apt-get install python-fontforge ''' import sys import fontforge fonts fontforge. "HHead Ascent Offset" should be a negative number in most cases around -100 to -200 (the lower the value the smaller the line spacing). Now comes the tricky part: Depending on the font you'll need to experiment a little to get the line spacing right. Set all numbers to zero in the metrics fields, but don't uncheck the "Is Offset" boxes. Now select "OS/2" on the left side of the Font Information and then the "Metrics" tab on the right side. You should see something that looks like this:Ĭlick on "Element" then "Font Info." or press Ctrl+Shift+F. Start FontForge and open the font you want to edit. Create a new font and import the BDF Font as background font: File->Import and don't forget select 'As Background'. FON file as background didn't work for me so I had to convert the font first): File->Generate Fonts and choose BDF as format. In the examples I'm going to show, I used the free font Bitstream Vera Sans (Vera.ttf). Start FontForge in Portable Ubuntu and open the. The following how-to was made by trial-and-error, as I don't have much knowledge about font metrics. The line spacing on the Cybook is determined by the currently used font's metrics. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |