Help with LTSH and VDMX tables.
Giancarlo Rodriguez
Posts: 6
Sorry to bother, but I was wondering if anyone could help. I'm relatively new to type design, I've only been at for like 8 months and self taught, there's much I don't know. I thought I had finally finished my first font, but some issues were found (please look below). I have no idea what that is or how to fix it. I also couldn't find anything about LTSH and VDMX tables in Fontlab, I might not have looked hard enough though. Any help would be appreciated.
• in the LTSH table many (almost all) values are incorrect, some seem to be really massively off (https://docs.microsoft.com/en-us/typography/opentype/spec/ltsh)
• in the VDMX table many (seemingly all) values are larger by one unit than needed (https://docs.microsoft.com/en-us/typography/opentype/spec/vdmx). This may be responsible for the error report regarding vertical metrics.
• in the LTSH table many (almost all) values are incorrect, some seem to be really massively off (https://docs.microsoft.com/en-us/typography/opentype/spec/ltsh)
• in the VDMX table many (seemingly all) values are larger by one unit than needed (https://docs.microsoft.com/en-us/typography/opentype/spec/vdmx). This may be responsible for the error report regarding vertical metrics.
Tagged:
0
Comments
-
how did you make this font? is it a TrueType font generated from FontLab? its possible you don't need these tables at all. how were the issues with the tables found?0
-
Which version of FontLab?0
-
John Hudson said:Which version of FontLab?0
-
Mike Duggan said:how did you make this font? is it a TrueType font generated from FontLab? its possible you don't need these tables at all. how were the issues with the tables found?0
-
how is the font hinted?0
-
I would wonder what happens if you just open the source in FontLab VI and regenerate it from there. Does that resolve the problem? You can use VI in free trial mode for a month.
(Not that I am directly affiliated with FontLab these days.)0 -
Microsoft had a command line tool called cachett that correctly calculates the device metrics values, and this could be set to run automatically when exporting fonts from the Windows version of FontLab Studio 5. Unfortunately, this tool doesn't seem to be available from the new version of the MS Typography website.0
-
hi Giancarlo, as you say you are new to font design, I am going to assume you are not too concerned with the hinting in your font, (hinting is a set of instructions in the font, to help letterforms better fit the screen pixel grid). The tables you refer to are Hinting related, and you probably do not need them.
a couple of things however. its possible you might want the tables? I have ben trying to find out how/why these tables were generated in the first place. this is best answered by Font Lab folks, but I have not been able to get the right person. I think its important to know why the tables are there. it could be as Thomas suggested that newer versions of FL do not make these tables in the font, and they are no longer required for general use fonts.
if we do figure out that the tables are not needed, the next step is to remove them. I can probably work with you to help you do that.
you could try Thomas's suggestion first, to see if that resolves the issue. in the meantime I can try get someone from FontLab to comment here. cant promise anything on that.
0 -
Thomas Phinney said:I would wonder what happens if you just open the source in FontLab VI and regenerate it from there. Does that resolve the problem? You can use VI in free trial mode for a month.
(Not that I am directly affiliated with FontLab these days.)0 -
Mike Duggan said:hi Giancarlo, as you say you are new to font design, I am going to assume you are not too concerned with the hinting in your font, (hinting is a set of instructions in the font, to help letterforms better fit the screen pixel grid). The tables you refer to are Hinting related, and you probably do not need them.
a couple of things however. its possible you might want the tables? I have ben trying to find out how/why these tables were generated in the first place. this is best answered by Font Lab folks, but I have not been able to get the right person. I think its important to know why the tables are there. it could be as Thomas suggested that newer versions of FL do not make these tables in the font, and they are no longer required for general use fonts.
if we do figure out that the tables are not needed, the next step is to remove them. I can probably work with you to help you do that.
you could try Thomas's suggestion first, to see if that resolves the issue. in the meantime I can try get someone from FontLab to comment here. cant promise anything on that.0 -
if you can send me your final .ttf font, i can look into deleting the tables. you can send it to mikedu (at) microsoft.com0
-
This is the original cachett.exe file from microsoft (2002).
Create a folder to download the file:
In fontlab 5 go to Preference >Generating Truetype/OpentypeTT >Use cachett program to generate device metrics tables in TTF fonts link the file in the folder You choose.
Try to generate your font again.
Regards
Sami
0 -
Sami Artur Mandelbaum said:This is the original cachett.exe file from microsoft (2002).
Create a folder to download the file:
In fontlab 5 go to Preference >Generating Truetype/OpentypeTT >Use cachett program to generate device metrics tables in TTF fonts link the file in the folder You choose.
Try to generate your font again.
Regards
Sami0 -
there is some crazy hints in the font. let me send you a font, with the hinting gone, the tables deleted and the GASP set correctly. thanks mike0
-
Giancarlo Rodriguez said:Ok, thanks for the file and the instructions. I saw it open a window when I went to generate the TTF, so I'm assuming it worked. Is there a way to know for sure, like a test?
Probably the only way to know if it works.
I am sure it will works.
Sami0 -
I sent on the font. some of the hinting in the font was causing some glyphs to appear much larger than they should have. I removed hinting, set the GASP table to use ysmoothing at all sizes. removed the LTSH and VDMX.0
-
Aha. So the crazy hinting was causing crazy effects at specific sizes, which then carried on to the LTSH and VDMX as they are based on size-specific rendering. I understand now.
0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 803 Font Technology
- 1K Technique and Theory
- 622 Type Business
- 444 Type Design Critiques
- 542 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 485 Typography
- 303 History of Typography
- 114 Education
- 68 Resources
- 499 Announcements
- 80 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 270 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports