The font "Arabic Transparent" (artro.ttf) is invalid

  • Thread starter Krzysztof Å»elechowski
  • Start date
K

Krzysztof Żelechowski

This font, when installed, causes WEFT to crash.

Several error messages from the Font Validator tool:


OS/2
Error code Message Details
W2106 The version number is valid, but less than 3 1
P2112 The table length matches the expected length for this version
P2120 The xAvgCharWidth field equals the calculated value
P2118 The usWeightClass is a valid value 400
P2119 The width class is a valid value 5
P2103 The fsType field is valid 0x0002, Restricted License Embedding
P2109 All subscript and superscript values appear valid
P2108 The yStrikeoutSize and yStrikeoutPosition appear valid
P2107 The sFamilyClass Class ID and Subclass ID values are in a valid range
P2104 All panose values are in a valid range
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Basic Latin', 96 characters are present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Latin-1 Supplement', 49 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Latin Extended-A', 6 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Latin Extended-B', 1 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Spacing Modifier Letters', 2 characters
are present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'General Punctuation', 19 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Letterlike Symbols', 1 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Private Use Area', 21 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Arabic Presentation Forms-A', 33
characters are present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Arabic Presentation Forms-B', 100
characters are present
P2113 The Unicode Range fields' bits are all allowable values
P2102 The fsSelection field appears to be valid
P2100 The usFirstCharIndex and usLastCharIndex fields are valid first =
0x0020, last = 0xfeff
W2117 The value of sTypoAscender minus sTypoDescender is greater than
unitsPerEm sTypoAscender = 1740, sTypoDescender = -668
W2101 A CodePage bit is set in ulCodePageRange, but the font is missing some
of the printable characters from that codepage bit #6, Arabic (missing chars:
U20AC U0679 U0688 U0691 U06BA U06BE U06C1 U06D2)
W2100 A CodePage bit is clear in ulCodePageRange, but the font contains all
of the printable characters from that codepage bit #21, Korean Johab
P2101 The CodePage Range fields' bits are all allowable values



cmap
Error code Message Details
P0312 The table version number is 0
P0307 Each subtable offset is within the table
P0306 Each subtable length is within the table
P0309 The subtables are in the correct order
P0302 There are no duplicate subtables
P0308 No overlapping subtables were found
P0310 Each subtable's format number is valid
P0305 The subtable internal format appears valid PlatID = 1, EncID = 0, Fmt
= 0
P0305 The subtable internal format appears valid PlatID = 3, EncID = 1, Fmt
= 4
P0301 The table contains both Apple and Microsoft subtables
W0300 Character code 240, the Apple logo, isn't mapped to missing glyph in
cmap 1,0 (legal requirement for Microsoft fonts)
P0303 Character code 219, the euro character, is mapped for cmap 1,0
W0305 Character code U+20AC, the euro character, is not mapped in cmap 3,1
W0307 Characters are mapped in the Unicode Private Use area
P0314 All non mac subtables have a language field of zero



cvt
Error code Message Details
P0400 The length of the cvt table is an even number of bytes



fpgm
Error code Message Details
I0900 Validation for the fpgm table is not directly implemented, but
rasterization testing will validate any executed hinting instructions



glyf
Error code Message Details
P1700 Correct format of loca (0 or 1)
W1112 Not all extremes are marked with the on-curve control points Glyph
index 45
W1112 Not all extremes are marked with the on-curve control points Glyph
index 151
W1100 Reserved bit is set to 1 Number of glyphs with the warning = 1



head
Error code Message Details
P1323 Table length is 54 bytes
P1324 The table version number is 0x00010000
E0041 An exception occurred preventing completion of table validation
System.FormatException: Input string was not in a correct format. at
System.Number.ParseDouble(String s, NumberStyles style, NumberFormatInfo
info) at System.Double.Parse(String s, NumberStyles style, IFormatProvider
provider) at OTFontFileVal.val_head.Validate(Validator v, OTFontVal
fontOwner) at OTFontFileVal.OTFontVal.Validate()



hhea
Error code Message Details
P1406 The table version number is 0x00010000
P1409 The Ascender value is greater than zero
P1411 The Descender is less than zero
P1410 Ascender is less than or equal to head.yMax
P1412 Descender is greater than or equal to head.yMin
P1413 LineGap is greater than or equal to 0
P1415 Ascender is same value as OS/2.usWinAscent
P1416 Descender value is the same as OS/2.usWinDescent
P1414 The LineGap is greater to or equal the minimum recommended value
P1400 The advanceWidthMax field equals the calculated value
P1402 The minLeftSideBearing field equals the calculated value
P1403 The minRightSideBearing field equals the calculated value
P1407 The xMaxExtent field equals the calculated value
P1405 The reserved fields are all set to zero
P1401 The metricDataFormat field is set to zero
P1404 The numberOfHMetrics value is consistent with the length of the hmtx
table
P1408 The caretSlope angle matches the post.italicAngle



hmtx
Error code Message Details
P1501 The size of the table matches the calculated size
P1500 The horizontal metrics are all within an allowable range of values



loca
Error code Message Details
P1700 Correct format of loca (0 or 1)
P1704 The number of entries is equal to (maxp.numGlyphs + 1)
P1705 The entries are sorted in ascending order
E1703 Loca entry points outside the glyf range Number of glyphs with the
error = 1
W1701 Loca references a glyf entry which length is not a multiple of 4
Number of glyphs with the warning = 214
I1700 Loca references a zero-length entry in the glyf table Number of glyphs
that are empty = 7
P1703 All glyphs in the glyf table are referenced by the loca table



maxp
Error code Message Details
P1905 Table version is 1.0 and a glyf table is present and no CFF table is
present
P1902 Table version is 1.0 and the table is 32 bytes long
P1903 The numGlyphs value equals the number of entries in the loca array
plus one numGlyphs = 414
E1900 The value doesn't match the calculated value maxPoints = 179,
calculated = 169
W1900 The value doesn't match the calculated value maxSizeOfInstructions =
647, calculated = 229
E1900 The value doesn't match the calculated value maxComponentElements = 6,
calculated = 2



name
Error code Message Details
P2001 The format selector field is 0
P2007 No strings extended past the end of the table
P2003 The NameRecords array is in sorted order
P2006 No name records are using reserved Name IDs
P2000 The table contains strings for both Mac and Microsoft platforms
P2009 The version string is in the correct format Version 1.01
P2004 All strings had valid Platform Specific Encoding IDs
P2002 All Microsoft unicode strings had valid Language IDs
P2008 The length of every unicode string is an even # of bytes
P2005 The PostScript strings are correctly formatted
P2010 The subfamily string is consistent with the style of the font



post
Error code Message Details
P2304 The table length is valid
P2308 The version number is valid
P2302 The italicAngle value is reasonable and consistent with other tables
P2305 The underlinePosition value is not less than hhea.Descender
P2306 The underlineThickness value is reasonable
P2301 The isFixedPitch field is consistent with other table(s) matches the
hmtx and OS/2 tables
P2307 The numberOfGlyphs field equals maxp.numGlyphs
P2300 The glyphNameIndex array contains valid indexes
I2301 The post name does not match the name in the Adobe Glyph List glyph =
16, char = U+002D, name = hyphenminus
I2300 The post name isn't in uniXXXX or uXXXXX format and there is no Adobe
Glyph List entry glyph = 98, char = U+007F, name = delete
I2301 The post name does not match the name in the Adobe Glyph List glyph =
113, char = U+00AD, name = sfthyphen
[and so on]


prep
Error code Message Details
I2400 Validation for the prep table is not directly implemented, but
rasterization testing will validate any executed hinting instructions



Rasterization Test
Error code Message Details
E6007 EIF found without IF Size 4, EIF, Glyph ID 402, At ByteOffset 97,
[and so on]
 
P

PA Bear [MS MVP]

Stick with your forum thread for best assistance:
http://forum.fontlab.com/microsoft-...32-crashes-on-arabic-transparent-t7030.0.html

Are you working with WEFT v3.2? =>
http://www.microsoft.com/typography/WEFT.mspx

Have you visited this page? =>
http://www.microsoft.com/typography/web/embedding/weft3/available.aspx

PS: Why didn't you post those Font Validator results in your forum post?

This font, when installed, causes WEFT to crash.

Several error messages from the Font Validator tool:


OS/2
Error code Message Details
W2106 The version number is valid, but less than 3 1
P2112 The table length matches the expected length for this version
P2120 The xAvgCharWidth field equals the calculated value
P2118 The usWeightClass is a valid value 400
P2119 The width class is a valid value 5
P2103 The fsType field is valid 0x0002, Restricted License Embedding
P2109 All subscript and superscript values appear valid
P2108 The yStrikeoutSize and yStrikeoutPosition appear valid
P2107 The sFamilyClass Class ID and Subclass ID values are in a valid
range
P2104 All panose values are in a valid range
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Basic Latin', 96 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Latin-1 Supplement', 49 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Latin Extended-A', 6 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Latin Extended-B', 1 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Spacing Modifier Letters', 2
characters
are present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'General Punctuation', 19 characters
are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Letterlike Symbols', 1 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Private Use Area', 21 characters are
present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Arabic Presentation Forms-A', 33
characters are present
I2100 Characters in a unicode range are present in the font, but not
indicated in ulUnicodeRange fields 'Arabic Presentation Forms-B', 100
characters are present
P2113 The Unicode Range fields' bits are all allowable values
P2102 The fsSelection field appears to be valid
P2100 The usFirstCharIndex and usLastCharIndex fields are valid first =
0x0020, last = 0xfeff
W2117 The value of sTypoAscender minus sTypoDescender is greater than
unitsPerEm sTypoAscender = 1740, sTypoDescender = -668
W2101 A CodePage bit is set in ulCodePageRange, but the font is missing
some
of the printable characters from that codepage bit #6, Arabic (missing
chars: U20AC U0679 U0688 U0691 U06BA U06BE U06C1 U06D2)
W2100 A CodePage bit is clear in ulCodePageRange, but the font contains
all
of the printable characters from that codepage bit #21, Korean Johab
P2101 The CodePage Range fields' bits are all allowable values



cmap
Error code Message Details
P0312 The table version number is 0
P0307 Each subtable offset is within the table
P0306 Each subtable length is within the table
P0309 The subtables are in the correct order
P0302 There are no duplicate subtables
P0308 No overlapping subtables were found
P0310 Each subtable's format number is valid
P0305 The subtable internal format appears valid PlatID = 1, EncID = 0,
Fmt
= 0
P0305 The subtable internal format appears valid PlatID = 3, EncID = 1,
Fmt
= 4
P0301 The table contains both Apple and Microsoft subtables
W0300 Character code 240, the Apple logo, isn't mapped to missing glyph in
cmap 1,0 (legal requirement for Microsoft fonts)
P0303 Character code 219, the euro character, is mapped for cmap 1,0
W0305 Character code U+20AC, the euro character, is not mapped in cmap 3,1
W0307 Characters are mapped in the Unicode Private Use area
P0314 All non mac subtables have a language field of zero



cvt
Error code Message Details
P0400 The length of the cvt table is an even number of bytes



fpgm
Error code Message Details
I0900 Validation for the fpgm table is not directly implemented, but
rasterization testing will validate any executed hinting instructions



glyf
Error code Message Details
P1700 Correct format of loca (0 or 1)
W1112 Not all extremes are marked with the on-curve control points Glyph
index 45
W1112 Not all extremes are marked with the on-curve control points Glyph
index 151
W1100 Reserved bit is set to 1 Number of glyphs with the warning = 1



head
Error code Message Details
P1323 Table length is 54 bytes
P1324 The table version number is 0x00010000
E0041 An exception occurred preventing completion of table validation
System.FormatException: Input string was not in a correct format. at
System.Number.ParseDouble(String s, NumberStyles style, NumberFormatInfo
info) at System.Double.Parse(String s, NumberStyles style, IFormatProvider
provider) at OTFontFileVal.val_head.Validate(Validator v, OTFontVal
fontOwner) at OTFontFileVal.OTFontVal.Validate()



hhea
Error code Message Details
P1406 The table version number is 0x00010000
P1409 The Ascender value is greater than zero
P1411 The Descender is less than zero
P1410 Ascender is less than or equal to head.yMax
P1412 Descender is greater than or equal to head.yMin
P1413 LineGap is greater than or equal to 0
P1415 Ascender is same value as OS/2.usWinAscent
P1416 Descender value is the same as OS/2.usWinDescent
P1414 The LineGap is greater to or equal the minimum recommended value
P1400 The advanceWidthMax field equals the calculated value
P1402 The minLeftSideBearing field equals the calculated value
P1403 The minRightSideBearing field equals the calculated value
P1407 The xMaxExtent field equals the calculated value
P1405 The reserved fields are all set to zero
P1401 The metricDataFormat field is set to zero
P1404 The numberOfHMetrics value is consistent with the length of the hmtx
table
P1408 The caretSlope angle matches the post.italicAngle



hmtx
Error code Message Details
P1501 The size of the table matches the calculated size
P1500 The horizontal metrics are all within an allowable range of values



loca
Error code Message Details
P1700 Correct format of loca (0 or 1)
P1704 The number of entries is equal to (maxp.numGlyphs + 1)
P1705 The entries are sorted in ascending order
E1703 Loca entry points outside the glyf range Number of glyphs with the
error = 1
W1701 Loca references a glyf entry which length is not a multiple of 4
Number of glyphs with the warning = 214
I1700 Loca references a zero-length entry in the glyf table Number of
glyphs
that are empty = 7
P1703 All glyphs in the glyf table are referenced by the loca table



maxp
Error code Message Details
P1905 Table version is 1.0 and a glyf table is present and no CFF table is
present
P1902 Table version is 1.0 and the table is 32 bytes long
P1903 The numGlyphs value equals the number of entries in the loca array
plus one numGlyphs = 414
E1900 The value doesn't match the calculated value maxPoints = 179,
calculated = 169
W1900 The value doesn't match the calculated value maxSizeOfInstructions =
647, calculated = 229
E1900 The value doesn't match the calculated value maxComponentElements =
6,
calculated = 2



name
Error code Message Details
P2001 The format selector field is 0
P2007 No strings extended past the end of the table
P2003 The NameRecords array is in sorted order
P2006 No name records are using reserved Name IDs
P2000 The table contains strings for both Mac and Microsoft platforms
P2009 The version string is in the correct format Version 1.01
P2004 All strings had valid Platform Specific Encoding IDs
P2002 All Microsoft unicode strings had valid Language IDs
P2008 The length of every unicode string is an even # of bytes
P2005 The PostScript strings are correctly formatted
P2010 The subfamily string is consistent with the style of the font



post
Error code Message Details
P2304 The table length is valid
P2308 The version number is valid
P2302 The italicAngle value is reasonable and consistent with other tables
P2305 The underlinePosition value is not less than hhea.Descender
P2306 The underlineThickness value is reasonable
P2301 The isFixedPitch field is consistent with other table(s) matches the
hmtx and OS/2 tables
P2307 The numberOfGlyphs field equals maxp.numGlyphs
P2300 The glyphNameIndex array contains valid indexes
I2301 The post name does not match the name in the Adobe Glyph List glyph
=
16, char = U+002D, name = hyphenminus
I2300 The post name isn't in uniXXXX or uXXXXX format and there is no
Adobe
Glyph List entry glyph = 98, char = U+007F, name = delete
I2301 The post name does not match the name in the Adobe Glyph List glyph
=
113, char = U+00AD, name = sfthyphen
[and so on]


prep
Error code Message Details
I2400 Validation for the prep table is not directly implemented, but
rasterization testing will validate any executed hinting instructions



Rasterization Test
Error code Message Details
E6007 EIF found without IF Size 4, EIF, Glyph ID 402, At ByteOffset 97,
[and so on]
 
K

Krzysztof Żelechowski

PA Bear said:

This tread is about invalid font, not about WEFT.

Fresh copy, downloaded and installed yesterday.
Have you visited this page? =>
http://www.microsoft.com/typography/web/embedding/weft3/available.aspx

PS: Why didn't you post those Font Validator results in your forum post?

Because it is a Windows problem, not a WEFT problem. That post has a
hyperlink to this thread, as you may have noticed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top