maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] [PATCH] [ocitysmap] Rescale category header where n


From: Jeroen van Rijn
Subject: Re: [Maposmatic-dev] [PATCH] [ocitysmap] Rescale category header where needed
Date: Tue, 17 Apr 2012 12:42:17 +0200

David, Thomas,

I've just tried this patch on a larger area, in the case where
multiple categories had to scale and it turns out the patch is missing
something. It doesn't save and restore the font size, so all
categories after the first to rescale end up smaller even if not
needed.

I could have it save the fd.get_size and restore it, fixing this for
v2, but it's probably better to just rework it to separate out the
measuring from the rescaling and compute a global font size for all
headers before the drawing takes place.

So that's what I'll do.

Best regards,
Jeroen.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]