<div dir="ltr">Nice!  Very clever way to implement kerning</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 27, 2022 at 3:40 PM Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">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><br></div><div><img id="gmail-m_-23894766981589152572BE99E0C-64AA-468F-9303-F9D371564A19" src="cid:17e9def2e858061d6391"><br><br><blockquote type="cite">On Jan 27, 2022, at 2:45 PM, Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>> wrote:<br><br>Challenge accepted, all just one function.<br><br><a href="https://gist.github.com/pramsey/2020ef463a8880edc7e23c56420d7df8" target="_blank">https://gist.github.com/pramsey/2020ef463a8880edc7e23c56420d7df8</a><br><br><blockquote type="cite">On Jan 27, 2022, at 2:08 PM, Darafei Komяpa Praliaskouski <<a href="mailto:me@komzpa.net" target="_blank">me@komzpa.net</a>> wrote:<br><br>I like this way. Believe we only need one function really.<br><br>(I called this ST_GeomFromText in my head for a bit...)<br><br>пт, 28 сту 2022, 00:38 карыстальнік Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>> напісаў:<br>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><br><a href="https://gist.github.com/pramsey/2020ef463a8880edc7e23c56420d7df8" target="_blank">https://gist.github.com/pramsey/2020ef463a8880edc7e23c56420d7df8</a><br><br>P<br><br><blockquote type="cite">On Jan 27, 2022, at 10:32 AM, Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>> wrote:<br><br>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><br><blockquote type="cite">On Jan 27, 2022, at 9:29 AM, Martin Davis <<a href="mailto:mtnclimb@gmail.com" target="_blank">mtnclimb@gmail.com</a>> wrote:<br><br><br>On Thu, Jan 27, 2022 at 9:03 AM Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>> wrote:<br>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><br>That sounds like the simplest approach.  Nice to avoid needing a table.  <br>_______________________________________________<br>postgis-devel mailing list<br><a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-devel</a><br></blockquote><br></blockquote><br>_______________________________________________<br>postgis-devel mailing list<br><a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-devel</a><br>_______________________________________________<br>postgis-devel mailing list<br><a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-devel</a><br></blockquote><br></blockquote><br></div></div>_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-devel</a><br>
</blockquote></div>