Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
We want to use the leroy font for some signs we're manufacturing. But since the heigt of the leroy font is defined wrong (when you set the text height to 5mm, the lowercase letter turms out 5mm high) and it also refers to a latin font which look completely different, I have made a copy of the leroy font and made som changes.
These are the settings in the original file:
codeset 0
height 63width 36
base_offset 11
spec_height 26
xextent 36
fixed_width 1
ascender 11
polygons 0
ics 1
gap 8
These are the settings after my changes:
codeset 0
height 59
width 36
base_offset 11
spec_height 37
xextent 36
fixed_width 1
ascender 11
polygons 0
ics 1
gap 8
This gives the right height of the font. But I have the problem that when I write a note with more than one row, the base_offset of the row above collides with the ascender of the row below. I have tried to change the height and the ascender to 63 and 15. But the text comes out the same.
Does anyone know how to control the line space?
Solved! Go to Solution.
Helena,
I have tested your font. See uploaded file .
Martin Hanak
Helena,
I have never created ProE font, so I can only forward you into PTC manual (see attached PDF file).
Information important for you is located on pages B-29 to B-39 (page numbers 151-161).
Good luck
Martin Hanak
Helena,
if you want you can send me your font source file. I can test it in my Creo Parametric 2.0 installation.
Martin Hanak
Thank you Martin for offering your assistance.
Here are our font-files. They are not completely finished but Ü,Å,Ä and Ö is good enough to see the problem.
Helena,
please upload also a drawing file containing multiline note.
Martin Hanak
I attach a drawing with a multiline with ÜÅÄÖ.
Helena,
I have tested your font. See uploaded file .
Martin Hanak
Martin,
Thank you very much for your efforts.
I will have to think about how to go on. Maybe I will make the letter with an ascender sligtly smaller...
Just out of curiosity, what is the relation between the line space value and the overlapping of the font?
How did you know at which high the lines collide at line space 0.5? (value 56 and 7)
Thanks again
Helena
Helena,
I added vertical line and two horizontal lines (value 11 and 48) to test characters. Then I created multiline note on the drawing. I found that note lines overlap (thanks to vertical line). Then I estimated and tested the position of additional horizontal lines (value 7 and 56).
I do not know why note lines overlap, therefore I do not know the relation between the line space value and the overlapping of the font.
Martin Hanak
Helena,
I have a problem to find definition of ÜÅÄÖ (uppercase and lowercase) characters in font source file. Please can you extract this information for me and send it to me.
Thanks
Martin Hanak
For some reason, line spacing is set to 0.5. See if changing this will solve your problem.