[DejaVu-bugs] [Bug 9092] New: maxComponentDepth value in maxp table is incorrect in fonts

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Mon Nov 20 01:10:58 PST 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=9092          
     
           Summary: maxComponentDepth value in maxp table is incorrect in
                    fonts
           Product: DejaVu
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: General
        AssignedTo: dejavu-bugs at lists.freedesktop.org
        ReportedBy: roozbeh at farsiweb.info


There are problems in the maxComponentDepth field in the maxp table. The field
is defined defined according to the following part of OpenType spec:

http://www.microsoft.com/OpenType/OTSpec/maxp.htm

For the field, the spec says "Maximum levels of recursion; 1 for simple components."

This means that if a font doesn't use references the value should be one, but if
it does, for each level, one should add one to the value. All DejaVu fonts
currently have "4" in the field.

The MS Font Validator tool generates an error about the field, saying that based
on its computations, the value should be 6. From my own computations, it should
be at least 5 for DejaVu fonts. For DejaVuSans, for example, the following
sequence can be found:

uni1F92 -> uni1F22 -> uni1FCD -> uni1FEF -> grave

If the rendering systems actually use this value, this will result in problems
rendering the fonts.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the DejaVu-bugs mailing list