[postgis-devel] postgis_letters in project tree?

Bruce Rindahl bruce.rindahl at gmail.com
Thu Jan 27 16:04:09 PST 2022


Go for it.  I don't do Java

On Thu, Jan 27, 2022, 4:01 PM Martin Davis <mtnclimb at gmail.com> wrote:

> 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
>>>
>> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20220127/268dd454/attachment.html>


More information about the postgis-devel mailing list