[mapserver-dev] call for vote rfc80: fallback fonts

Thomas Jakobi thomas at derfake.com
Fri Dec 9 18:56:22 EST 2011


do i get to vote, too? ;-)

regarding gd: it would be easy to check the default font for missing glyphs using freetype (we are already doing that in the cairo renderer), and try to find a font in the font fallback list that has *all* glyphs of the string to render.

if we find a font that is able to render the string completely, we can simply use that one. upside: probably no error glyphs if unifont is in the fallback font list. downside: possible font juggling between labels on the same screen. 

if we do not find a a font, we could keep the current behavior (boxes, little boxes..).

basically, a label-by-label fallback instead of glyph-by-glyph, would be possible for gd.

kind regards,


On Dec 8, 2011, at 23:54 , thomas bonfort wrote:

> A bit of both. I haven't investigated further, but I'm not sure gd has
> an interface to return wether a given glyph was or was not found in
> the supplied font file.
> On Thu, Dec 8, 2011 at 23:44, Lime, Steve D (DNR)
> <Steve.Lime at state.mn.us> wrote:
>> +1... Is GD not supported because it can't be or is that a workload issue?
>> -----Original Message-----
>> From: mapserver-dev-bounces at lists.osgeo.org [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of thomas bonfort
>> Sent: Thursday, December 08, 2011 10:27 AM
>> To: MapServer Dev Mailing List
>> Subject: [mapserver-dev] call for vote rfc80: fallback fonts
>> Hi all,
>> as announced yesterday, I would like to call for a vote on rfc 80:
>> http://mapserver.org/trunk/development/rfc/ms-rfc-80.html
>> I'll open with a +1
>> regards,
>> thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4356 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20111210/835fcbde/smime.bin

More information about the mapserver-dev mailing list