Make sure to really select every sign you want to digitize, also scroll to the very bottom of the list. Count the approximate number of glyphs, you will need it later. Select those glyphs which you are wanting to digitize. Use FontForge and open a ttf-file or any other font-fileformat. In the image you can see, that the l is higher than the M. In some fonts lower case letters are taller than capitals (e.g. These values can be determined by writing all uppercase and lowercase letters of the alphabet. We have to know the maximum height of the letters above and below the baseline. In any case, it is advisable to read the license carefully before starting the laborious digitization work.Īfter checking the font license carefully, start to determine the size of the font. For example, choose fonts under public domain or Open Font License. The license terms must be strictly adhered to. In particular, if the file is to be published for use with Ink/Stitch. “Free” does not mean that you can do anything with it. It is therefore important to carefully review the required permissions. Especially the baseline will be important in order to use the font with Ink/Stitch.įonts are copyrighted, as are images or embroidery files. Each layer has to follow a precise pattern. Using Fontforge will make it easy for us to define the kerning (distances between letters) later.Ī SVG font contains a layer for each glyph. It would be possible to create a completely new font with the svg font editor tool offered by Inkscape. This article wil not explain how to digitize single letters, but how to create a font to be used in the lettering tool of Ink/Stitch. Here you will find a shortened and slightly altered version of her text in english translation. Cleanup the SVG Font File wrote an excellent article about the creation of new fonts for Ink/Stitch in her blog: Inkstitch : Créer une police de caractères brodés Other OP problem is Linux and a shitty Linux application. OP's problem is, he talks in px instead of em. How can I reduce the height of a BDF font? AFAIK, FontForge only allows you to set the width of a font. However, its line spacing is too wide, and I'd like to reduce it by 4 pixels. Both these, of course, require correction of the metrics and if you have not done it carefully not only the vertical metrics but also the horizontal, the advance widths.įor what the OP wants the solution lies in changing the vertical metrics so that the white space above and under the glyphs is the same: Changing the units per em leads to the same effect as scaling maintaining aspect ratio. To change the height of the glyphs you would need to scale the height to a percentage under 100% while maintaining the width of the glyphs to 100% which causes a deformation of the glyphs. Then each letter has the following format and I suppose that I should edit the BBOX property:īBX 8 10 0 -2 // <- This should become BBX 8 6 0 -2 (cut 4 pixels) PIXEL_SIZE 21 // <- This should become 17 (cut 4 pixels), right?įONT_ASCENT 17 // <- This should become 13 (cut 4 pixels), right? Here are the relevant lines from the BDF header section (my comments are preceded by //):įONTBOUNDINGBOX 8 16 0 -5 // <- This should become 8 12 0 -5 (cut 4 pixels), right? However, I hope there are free tools out there to accomplish this goal. In case any user here is knowledgeable about the BDF format, I've attached the lines that seem relevant to my objective. However, it seems to me that there is redundancy among properties, hence I suppose you have to propagate each change carefully. I've opened the BDF file with a text editor to look for properties to change. Moreover, the letters are off-center vertically: I should move them 3 pixels towards the top, but this is not necessary. I've downloaded a font in Windows FON format which I liked and I converted it to BDF to use it on Linux. I know very little about font editing, as I only download free fonts and once a while I fix them by using FontForge.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |