Hello,
There is a 'self halt' in the code of TTFontReader >>processCompositeGlyph:contours:from:.
Therefore, when I try to import a font from a file, for example by evaluating:
TTFontDescription addFromTTFile: FileDirectory default fullName, '/Fonts/DejaVu/DejaVuSans-Bold.ttf'
the execution is stoped by this halt (And I don't know why). Now, when I remove the 'self halt', all seems to work correctly.
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
can you enter a bug entry report?
On May 20, 2010, at 2:11 PM, Cyrille Delaunay wrote: > Hello, > > There is a 'self halt' in the code of TTFontReader >>processCompositeGlyph:contours:from:. > Therefore, when I try to import a font from a file, for example by evaluating: > > TTFontDescription addFromTTFile: FileDirectory default fullName, '/Fonts/DejaVu/DejaVuSans-Bold.ttf' > > the execution is stoped by this halt (And I don't know why). > Now, when I remove the 'self halt', all seems to work correctly. > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by cdelaunay
On May 20, 2010, at 2:11 48PM, Cyrille Delaunay wrote: Hello, The halt is in ((flags bitAnd: 2) = 2) ifFalse:[self halt]. From the spec at http://www.microsoft.com/typography/otspec/glyf.htm , under Composite Glyph Description the flags are described :
So, it's probably an indication that reading the values as points is not supported. Cheers, Henry _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
I opened an issue: http://code.google.com/p/pharo/issues/detail?id=2450
2010/5/20 Henrik Johansen <[hidden email]>
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Henrik Sperre Johansen
2010/5/20 Henrik Johansen <[hidden email]>
great. In such case we should write: ((flags bitAnd: 2) = 2) ifFalse:[self error: 'Reading the values as points is not supported']. :) Cheers Mariano
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |