maposmatic-dev
[Top][All Lists]
Advanced

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

[Maposmatic-dev] [bug #36166] Index categories on two lines improperly s


From: David Mentré
Subject: [Maposmatic-dev] [bug #36166] Index categories on two lines improperly supported
Date: Mon, 16 Apr 2012 13:13:07 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0

Follow-up Comment #7, bug #36166 (project maposmatic):

Jeroen,

To get the size of some text, you can use code similar to
label_drawing_width():
 
http://git.savannah.gnu.org/cgit/maposmatic/ocitysmap.git/tree/ocitysmap2/indexlib/commons.py#n127


Also, do not forget to use ctx.save() and ctx.restore() to save and restore
the cairo context before and after changing it.

Good luck!
d.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?36166>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/




reply via email to

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