Hi everyone, 

as creating tickets requires a SourceForge account and I do not want
one, here are some bugs with FontGlyphReader I bumped in recently.

1) FontGlyphReader.java: FONT_SANSERIF should be FONT_SANSSERIF.
I guess it would break other peoples' code if changed now though.

2) The FontGlyphReader sometimes fails to create a geometry. This
seems to depend on the font. For example on my system when using
FONT_SANSERIF rendering the letter "u" leads to a
"java.lang.IllegalArgumentException: Ring has fewer than 4 points, so
orientation cannot be determined at
com.vividsolutions.jts.algorithm.CGAlgorithms.isCCW(CGAlgorithms.java:214)
at com.vividsolutions.jts.awt.ShapeReader.isHole(ShapeReader.java:133)"
It works fine with FONT_SERIF. I am not sure which font it actually
picks in the background. If you tell me how find out, I can try to nail
down the problem.

3) The FontGlyphReader sometimes fails to create proper polygons with
holes for letters that have holes in them. Instead the holes are filled.
For example if I print a-z, aopöä will have their holes filled, while
the others (eg deqg) are rendered correctly.

All the best, Hannes


------------------------------------------------------------------------------
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user

Reply via email to