setting pango font using pangorc.



Hi,

We are using a GTK+ application built in C++, where we need to set the font of all the GTkWidgets.

 

We are using pangorc file to set the font. Specfically we are using font_name variable to set the font.

 

We need to set the font to a value mentioned “-*-lucidatypewriter-medium-r-normal-sans-*-120-*-*-*-*-*-*”

However we are unable to find the exact match for it in pango. The closest match we could find was

 font_name = “LucidaTypewriter Regular”

But we see the fonts looks larger than the fonts displayed by “-*-lucidatypewriter-medium-r-normal-sans-*-120-*-*-*-*-*-*” .

Could you please suggest what is the exact match in pango.

Platform Details:

SunOS 5.10 i86pc i386 i86pc(Solaris 10 on X86)

 

pango_module_version=1.4.0

Name: Pango

Description: Internationalized text handling

Version: 1.5.2

Requires: glib-2.0,gobject-2.0,gmodule-2.0

 

 

BR,
Preethi

 



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