[postgis-devel] postgis_letters in project tree?

Martin Davis mtnclimb at gmail.com
Thu Jan 27 16:00:39 PST 2022


Yes, the font Bezier curves get linearized by the Java AWT code (since Java
paths are linear, just like JTS & OGC).

On Thu, Jan 27, 2022 at 3:38 PM Bruce Rindahl <bruce.rindahl at gmail.com>
wrote:

> Does that handle bezier curves?  That was the most difficult part of the
> process and fonts seem to be loaded with them.
>
> Also might need a text direction parameter for right to left fonts (i.e.
> Hebrew)
>
> On Thu, Jan 27, 2022 at 3:18 PM Martin Davis <mtnclimb at gmail.com> wrote:
>
>> It would also be easy to whip up a Java app to dump out TTF fonts as WKT
>> or GeoJSON, using the JTS FontGlyphReader class (as shown in the
>> following code):
>>
>>
>> https://github.com/locationtech/jts/blob/master/modules/app/src/main/java/org/locationtech/jtstest/function/CreateShapeFunctions.java#L62
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20220127/fd4d866d/attachment.html>


More information about the postgis-devel mailing list