FontLab Forum
2012-05-16, 13:00:10 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the FontLab forum, read how to use it! Update: Archives from old MSN forums are now available on our forum.
 
   Home   Help Search Calendar Downloads Tags Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: E1900 and maxComponentDepth calculation  (Read 785 times)
ArchivePoster
Guest
« on: 2007-02-21, 13:23:00 »

Posted by: BobH
         
Attached are two fonts. For one of them (ipa93dr.ttf) FV gives an E1900 error suggesting that, in maxp, the maxComponentDepth is 2 but should be 1. For the other font (x.ttf), FV does not give this error. However, both fonts have their maxComponentDepth calculated the same way. Is this a bug in FV or, if not, how is this value supposed to be calculated?
 
Details:
 
ipa93dr.ttf has truetype composite glyphs, but all such glyphs are composed of simple glyphs. 
 
x.ttf has truetype composites the components of which are composites of simple glyphs.
 
Based on this, x.ttf should have a maxComponentDepth one greater than ipa93dr.ttf.  In fact, looking at the maxp tables for each, x.ttf has a value of 3, while ipa93dr.ttf has a value of 2. So far so good
 
However, FV complains that for the ipa93dr.ttf font the value should be 1. As it doesn't complain about the value of x.ttf, it must think 3 is correct.  But that would make the difference 2, while there is only one actual difference in depth.
 
So what's going on? Which is correct?
 
Bob
 

         
Logged
Tags:
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!