<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Added some extra magic to tighten up the kerning to pack short letters tighter under tall narrow letters like T and Y. OK, I'll stop now! <div class=""><br class=""></div><div class=""><img apple-inline="yes" id="2BE99E0C-64AA-468F-9303-F9D371564A19" src="cid:5908024C-1C09-4D75-BCA1-8A782AF1EFF7" class=""><br class=""><br class=""><blockquote type="cite" class="">On Jan 27, 2022, at 2:45 PM, Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" class="">pramsey@cleverelephant.ca</a>> wrote:<br class=""><br class="">Challenge accepted, all just one function.<br class=""><br class=""><a href="https://gist.github.com/pramsey/2020ef463a8880edc7e23c56420d7df8" class="">https://gist.github.com/pramsey/2020ef463a8880edc7e23c56420d7df8</a><br class=""><br class=""><blockquote type="cite" class="">On Jan 27, 2022, at 2:08 PM, Darafei Komяpa Praliaskouski <me@komzpa.net> wrote:<br class=""><br class="">I like this way. Believe we only need one function really.<br class=""><br class="">(I called this ST_GeomFromText in my head for a bit...)<br class=""><br class="">пт, 28 сту 2022, 00:38 карыстальнік Paul Ramsey <pramsey@cleverelephant.ca> напісаў:<br class="">Here's the two functions. I think putting these into the default postgis extension makes sense, they are small and then we have letter magic available for doco etc wherever we want.<br class=""><br class="">https://gist.github.com/pramsey/2020ef463a8880edc7e23c56420d7df8<br class=""><br class="">P<br class=""><br class=""><blockquote type="cite" class="">On Jan 27, 2022, at 10:32 AM, Paul Ramsey <pramsey@cleverelephant.ca> wrote:<br class=""><br class="">Using base64 encoded twkb, i can get the letters set down to a 22K function. So, I think maybe this just goes into the main postgis extension. (Assuming you're OK with my minimalist anglo no-special-font handling approach.)<br class=""><br class=""><blockquote type="cite" class="">On Jan 27, 2022, at 9:29 AM, Martin Davis <mtnclimb@gmail.com> wrote:<br class=""><br class=""><br class="">On Thu, Jan 27, 2022 at 9:03 AM Paul Ramsey <pramsey@cleverelephant.ca> wrote:<br class="">I'm thinking of converting the letter/font table into a function with a fixed collection of letters, so that an install involves just two functions ST_GeomFromLetter(letter) and ST_GeomFromWord(text). ST_GeomFromLetter can be expanded over time to include additional letters for other language charsets. That matches the capabilities of the system to the needs.<br class=""><br class="">That sounds like the simplest approach. Nice to avoid needing a table. <br class="">_______________________________________________<br class="">postgis-devel mailing list<br class="">postgis-devel@lists.osgeo.org<br class="">https://lists.osgeo.org/mailman/listinfo/postgis-devel<br class=""></blockquote><br class=""></blockquote><br class="">_______________________________________________<br class="">postgis-devel mailing list<br class="">postgis-devel@lists.osgeo.org<br class="">https://lists.osgeo.org/mailman/listinfo/postgis-devel<br class="">_______________________________________________<br class="">postgis-devel mailing list<br class="">postgis-devel@lists.osgeo.org<br class="">https://lists.osgeo.org/mailman/listinfo/postgis-devel<br class=""></blockquote><br class=""></blockquote><br class=""></div></body></html>