[vwnc] Pango

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] Pango

Maarten Mostert-2
Hi,
 
I am trying to use   <   fontDescriptionString: aString   > in Layout in Pango.
 
I have troubles getting additional parameters to pango, and for something like the following only the font familiy and the size is taken in account.
 
layout fontDescriptionString: 'Lucida Grande,italic strike heavy underline=double underline_color=#00FF00 ,16px'.
 
Can anyone give me some working examples ?
 
Regards,
 
@+Maarten,
 
 

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Pango

Annick
Hi,

You can use html formatting and use setMarkup: instead of setText:.
and pass <b>some bold text</b>, etc...
Regards
Annick Fron

Le 30 déc. 08 à 21:55, Maarten MOSTERT a écrit :

Hi,
 
I am trying to use   <   fontDescriptionString: aString   > in Layout in Pango.
 
I have troubles getting additional parameters to pango, and for something like the following only the font familiy and the size is taken in account.
 
layout fontDescriptionString: 'Lucida Grande,italic strike heavy underline=double underline_color=#00FF00 ,16px'.
 
Can anyone give me some working examples ?
 
Regards,
 
@+Maarten,
 
 
_______________________________________________
vwnc mailing list


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc