[postgis-devel] postgis_letters in project tree?

Martin Davis mtnclimb at gmail.com
Thu Jan 27 15:17:53 PST 2022


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

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

> Looking at the code I would propose the following as a process if someone
> wants a different font.
> Convert TTF to SVG via Batik
> Run my python script to convert the SVG to SQL
> Using Regina's postgis_letters extension, load the SQL into the font table
> Using whatever Paul did to generate the function (I assume you did it with
> a single SELECT statement) generate the new function
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20220127/a994cebe/attachment.html>


More information about the postgis-devel mailing list