FontLab Forum
2012-05-16, 13:13:35 *
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: Problem validating an OpenType (CFF) font.  (Read 1219 times)
ArchivePoster
Guest
« on: 2007-04-12, 02:10:00 »

Posted by: robocop
         
Hello,

I was trying to use FontValidator to test an OpenType font with CFF outlines. It seems that FontValidator does not read or validate the CFF table.
 
Are there any other resources that can help us to validate OpenType(CFF) format?  I tried to use FDK from Adobe but I am getting very mixed messages (at the same time the font seems to be crashing some Windows applications). Is there anything wrong with this font?

The CFF font (http://www.pdftron.com/pub/cfftest.zip) is actually a CID font and is using a single range (0, 0xFFFF) in the Charset dictionary of CFF font.  When I run or CFFChecker (using the older FDK) I get lots of information (see below). Also FDK tools can successfully embed/render the CFF font in PDF.
 
Any help is appreciated.

Ian N
-------------
### Header (00000000-00000003)
major =1
minor =0
hdrSize=4
offSize=4
### Name INDEX (00000004-00000014)
--- object[index]={value}
  • ={IK_FNT}
### Top DICT INDEX (00000015-00000055)
--- object[index]={value}
  • ={
393 394 0 ROS
391 FullName
392 FamilyName
0 0 1000 1000 FontBBox
0.001 0 0 0.001 0 0 FontMatrix
1 StrokeWidth
142 charset
155 CharStrings
17 CIDCount
1108 FDArray
147 FDIndex
}
### String INDEX (00000056-0000008b)
--- object[index]={value}
[391]={IK_FNT}
[392]={IK_FNTFamily}
[393]={Adobe}
[394]={Identity}
### GlobalSubrINDEX (0000008c-0000008d)
empty
### Charset (0000008e-00000092)
format=2
--- Range2[index]={first,nLeft}
  • ={1,16}
### FDSelect (00000093-0000009a)
format =3
nRanges=1
--- Range3[index]={first,fd}
  • ={0,0}
sentinel=17
### FDArray INDEX (00000454-00000483)
--- object[index]={value}
  • ={
391 FullName
392 FamilyName
0 0 1000 1000 FontBBox
0.001 0 0 0.001 0 0 FontMatrix
1 StrokeWidth
391 FontName
0 0 Private
}
### CharStrings INDEX (0000009b-00000453)
--- object[index]={value}
  • ={
100 10 12 rmoveto
120 133 rlineto
endchar
}
[1]={
150 10 12 rmoveto
120 133 rlineto
endchar
}
... ...
}
### Private DICT (00000000-ffffffff)

         
Logged
ArchivePoster
Guest
« Reply #1 on: 2007-04-13, 12:19:00 »

Posted by: gudrun__templin
         
Some remarks:
- the PDF in the ZIP archive does not contain your font as a font but  
rather as vector graphics
- in the otf file the font bounding box is zero for all four coordinates
- in the otf file missing value for UID base (not sure if that  
matters or even is an issue)
- in the otf file the 'name' table has 0 entries (not sure if this is  
really an issue)
- in the cff file for several glyphs some of the contour points are  
outside of the glyph bounding box for that glyph (probably not a show  
stopper)

I am not sure whether my remarks will be of any help (they are made  
based on some  internal tool we have here).

Good luck,

GT

On 12.04.2007, at 03:10, Microsoft Font Validator Community wrote:

> -----------------------------------------------------------
>
> New Message on Microsoft Font Validator Community
>
> -----------------------------------------------------------
> From: robocop
> Message 1 in Discussion
>
>  Hello,
>
> I was trying to use FontValidator to test an OpenType font with CFF  
> outlines. It seems that FontValidator does not read or validate the  
> CFF table.   Are there any other resources that can help us to  
> validate OpenType(CFF) format?  I tried to use FDK from Adobe but I  
> am getting very mixed messages (at the same time the font seems to  
> be crashing some Windows applications). Is there anything wrong  
> with this font?
>
> The CFF font (http://www.pdftron.com/pub/cfftest.zip) is actually a  
> CID font and is using a single range (0, 0xFFFF) in the Charset  
> dictionary of CFF font.  When I run or CFFChecker (using the older  
> FDK) I get lots of information (see below). Also FDK tools can  
> successfully embed/render the CFF font in PDF.    Any help is  
> appreciated.
> Ian N
> -------------
>  ### Header (00000000-00000003)
> major =1
> minor =0
> hdrSize=4
> offSize=4
> ### Name INDEX (00000004-00000014)
> --- object[index]={value}
>
  • ={IK_FNT}
> ### Top DICT INDEX (00000015-00000055)
> --- object[index]={value}
>
  • ={
> 393 394 0 ROS
> 391 FullName
> 392 FamilyName
> 0 0 1000 1000 FontBBox
> 0.001 0 0 0.001 0 0 FontMatrix
> 1 StrokeWidth
> 142 charset
> 155 CharStrings
> 17 CIDCount
> 1108 FDArray
> 147 FDIndex
> }
> ### String INDEX (00000056-0000008b)
> --- object[index]={value}
> [391]={IK_FNT}
> [392]={IK_FNTFamily}
> [393]={Adobe}
> [394]={Identity}
> ### GlobalSubrINDEX (0000008c-0000008d)
> empty
> ### Charset (0000008e-00000092)
> format=2
> --- Range2[index]={first,nLeft}
>
  • ={1,16}
> ### FDSelect (00000093-0000009a)
> format =3
> nRanges=1
> --- Range3[index]={first,fd}
>
  • ={0,0}
> sentinel=17
> ### FDArray INDEX (00000454-00000483)
> --- object[index]={value}
>
  • ={
> 391 FullName
> 392 FamilyName
> 0 0 1000 1000 FontBBox
> 0.001 0 0 0.001 0 0 FontMatrix
> 1 StrokeWidth
> 391 FontName
> 0 0 Private
> }
> ### CharStrings INDEX (0000009b-00000453)
> --- object[index]={value}
>
  • ={
> 100 10 12 rmoveto
> 120 133 rlineto
> endchar
> }
> [1]={
> 150 10 12 rmoveto
> 120 133 rlineto
> endchar
> }
> .. ...
> }
> ### Private DICT (00000000-ffffffff)
>
> -----------------------------------------------------------
>
> To stop getting this e-mail, or change how often it arrives, go to  
> your E-mail Settings.
> http://groups.msn.com/MicrosoftFontValidatorCommunity/
> _emailsettings.msnw
>
> Need help? If you've forgotten your password, please go to Passport  
> Member Services.
> http://groups.msn.com/_passportredir.msnw?ppmprop=help
>
> For other questions or feedback, go to our Contact Us page.
> http://groups.msn.com/contact
>
> If you do not want to receive future e-mail from this MSN group, or  
> if you received this message by mistake, please click the "Remove"  
> link below. On the pre-addressed e-mail message that opens, simply  
> click "Send". Your e-mail address will be deleted from this group's  
> mailing list.
> mailto:MicrosoftFontValidatorCommunity-remove@groups.msn.com

--
Olaf Druemmer | Managing Director
callas software GmbH | Schoenhauser Allee 6/7 | 10119 Berlin | Germany
Tel +49.30.4439031-0 | Fax +49.30.4416402
Amtsgericht Charlottenburg, HRB 59615 | Geschäftsführung: Olaf  
Drümmer, Ulrich Frotscher
o.druemmer@callassoftware.com | www.callassoftware.com




         
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!