Re: GTK+3 fonts

2012-10-22 Thread Roger Davis
Or request it everywhere. Not a bad idea, Liam, I'll probably do that. Roger ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

GTK+3 fonts

2012-10-21 Thread Roger Davis
Hi all, I have been developing some GTK+3/Cairo apps under CentOS 6, and am now trying to get them running under MacOS (Mountain Lion). I am using Cairo's text drawing functions to render simple strings into a GtkDrawingArea and am partial to the Sans font for various reasons. This does not

Re: GTK+3 fonts

2012-10-21 Thread Liam R E Quin
On Sat, 2012-10-20 at 20:23 -1000, Roger Davis wrote: Hi all, I [...] am partial to the Sans font for various reasons. On most linux systems this is actually an alias, not a font name. Here, it's DejaVu Sans Book: $ fc-match Sans DejaVuSans.ttf: DejaVu Sans Book $ so, add DejaVuSans.ttf

Re: GTK+3 fonts

2012-10-21 Thread Roger Davis
Hi Liam, Thanks for explaining the Sans alias. I was wondering about that, as looking around on my CentOS 6 system I was able to find most of the Gnome fonts in /usr/share/fonts (including the DejaVu fonts), but was not able to find the Sans font anywhere. Playing around with the gnome

Re: GTK+3 fonts

2012-10-21 Thread Michael Torrie
On 10/21/2012 04:16 AM, Roger Davis wrote: Any explanation for these mysteries, or any pointers to some decent documentation on Gnome 2/3 font configuration and installation? If you are using Gtk+3 with the native/quartz backend, then the fonts it uses are coming from the native OS X font

Re: GTK+3 fonts

2012-10-21 Thread Roger Davis
. Looking around on the Mac I was able to 'find' these: % sudo find / -name '*Vera*' -print /opt/X11/share/fonts/TTF/Vera.ttf /opt/X11/share/fonts/TTF/VeraBd.ttf ... lots more Vera*.ttf files in /opt/X11/share/fonts/TTF ... ... but also a bunch of other stuff here: /System/Library/PrivateFrameworks

Re: GTK+3 fonts

2012-10-21 Thread Roger Davis
.ttf files that I have manually copied into /opt/X11/share/fonts? Thanks! ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GTK+3 fonts

2012-10-21 Thread Roger Davis
How would I (re)configure freetype to recognize new .ttf files that I have manually copied into /opt/X11/share/fonts? Sorry, that should have been /opt/X11/share/fonts/TTF, where I stuck all the DejaVu*.ttf files copied from my CentOS machine. fc-list at least is able to find these now

Re: GTK+3 fonts

2012-10-21 Thread Roger Davis
Hi all, OK, I've made some progress based on everyone's suggestions, and focused my questions a bit more, I think. Copying the Deja*.ttf files into /opt/X11/share/fonts/TTF *did* make a difference, and they are now seen by my apps, but this fact was momentarily obscured by one of my

Re: GTK+3 fonts

2012-10-21 Thread Michael Torrie
like to do on my Mac is have it use DejaVu Sans to satisfy a Sans request (because DejaVu has the UTF-8 characters I need and Vera does not), but without having to delete the Vera fonts from my system, which might break God-knows-what-all. Is there a way to do this? All of this is specified

Re: GTK+3 fonts

2012-10-21 Thread Liam R E Quin
or 16px?) Second, at some point during my fiddling around this morning, the following files magically appeared in /opt/X11/share/fonts/TTF: % ls -l fo* 120 -rw-r--r-- 1 root wheel 57364 Oct 21 06:52 fonts.dir 8 -rw-r--r-- 1 root wheel 1962 Oct 21 06:51 fonts.list 120 -rw-r--r-- 1

Re: GTK+3 fonts

2012-10-21 Thread Roger Davis
the unmodified coordinate space. Thanks to both of you for pointing out all of the config stuff in /etc/fonts (/opt/local/etc/fonts on MacOS with MacPorts). I believe I have found the config file there which is aliasing Sans to the Vera font. In 60-latin.conf: ... alias familysans

Re: GTK+3 fonts

2012-10-21 Thread Liam R E Quin
On Sun, 2012-10-21 at 15:42 -1000, Roger Davis wrote: I'm thinking that my better strategy at this point is to just #ifdef my app code to specifically request DejaVu Sans on the Mac, rather than having to tweak these fontconfig files on each Mac in addition to hand-installing DejaVu. Or

Combo-box with scrollbar as the COMBO-BOX in LibreOffice that have in the list of FONTS

2012-06-17 Thread Mariano Gaudix
COMBOBOX with SCROLLBAR Excuse me for my question I am creating a combo-box with scrollbar with GTK 3.0 and VALA (gtk) . .as the COMBO-BOX in LibreOffice that have in the list of FONTS .. GTK 3.0 have not a COMBO-BOX with scrollbar

Re: gtkhtml fonts

2009-12-24 Thread Matthew Talbert
On Fri, Dec 18, 2009 at 10:08 PM, Matthew Talbert ransom1...@gmail.com wrote: It used to be possible to change the font that gtkhtml used (for the entire document) by calling gtk_widget_modify_font on the widget. It seems in recent versions that this no longer works. I've played around with

gtkhtml fonts

2009-12-18 Thread Matthew Talbert
It used to be possible to change the font that gtkhtml used (for the entire document) by calling gtk_widget_modify_font on the widget. It seems in recent versions that this no longer works. I've played around with setting styles on the widget and haven't gotten that to work either. Does anyone

fonts list using pango

2009-09-17 Thread Manu TM
Hi, I've been unsuccessfully looking for a way to dump a list of all available system fonts using pango but without poping-up a gtk font chooser button. Does anybody have a clue or know a link to some good doc about this? Many thanks in advance. Manu TM

Re: fonts list using pango

2009-09-17 Thread Behdad Esfahbod
On 09/17/2009 12:46 PM, Manu TM wrote: Hi, I've been unsuccessfully looking for a way to dump a list of all available system fonts using pango but without poping-up a gtk font chooser button. Does anybody have a clue or know a link to some good doc about this? Many thanks in advance. http

enumerating available fonts

2009-03-18 Thread Chuck Crisler
How do I enumerate the fonts available on a system? I suspect XListFonts() may not yield all of the nicer fonts but I haven't been able to find anything promising in Pango. Thank you! Chuck ___ gtk-app-devel-list mailing list gtk-app-devel-list

Re: enumerating available fonts

2009-03-18 Thread Behdad Esfahbod
On 03/18/2009 05:14 PM, Chuck Crisler wrote: How do I enumerate the fonts available on a system? I suspect XListFonts() may not yield all of the nicer fonts but I haven't been able to find anything promising in Pango. pango_font_map_list_families()? behdad Thank you! Chuck

Re: enumerating available fonts

2009-03-18 Thread Chuck Crisler
That function seems to list 'families' for a given 'font map'. But it seems that you have to have a font map to begin. I simply want to know all of the fonts on the system, like open office writer. Chuck On Wed, 2009-03-18 at 17:16 -0400, Behdad Esfahbod wrote: On 03/18/2009 05:14 PM, Chuck

re: enumerating available fonts

2009-03-18 Thread Garth's KidStuff
How do I enumerate the fonts available on a system? Here's a little function using Gtkmm that I use... vectorstring* LXUtils::GetAllFontNames() { // RETURN a pointer to a static string vector that contains the font names static vectorstring vsFonts; if (vsFonts.empty()) { // Only

Re: enumerating available fonts

2009-03-18 Thread Behdad Esfahbod
On 03/18/2009 05:23 PM, Chuck Crisler wrote: That function seems to list 'families' for a given 'font map'. But it seems that you have to have a font map to begin. pango_cairo_font_map_get_default(). behdad I simply want to know all of the fonts on the system, like open office writer

RE: Loading application specific fonts

2008-11-06 Thread Shepherd, Jason F
fonts Shepherd, Jason F wrote: I've recently downloaded the gtk+ stable release and we have started using it for text layout in a cross-platform environment (including windows). We would like to load an application-specific font to generate test images which are as close to identical

Loading application specific fonts

2008-11-05 Thread Shepherd, Jason F
I've recently downloaded the gtk+ stable release and we have started using it for text layout in a cross-platform environment (including windows). We would like to load an application-specific font to generate test images which are as close to identical as possible across all of the platforms.

Re: Loading application specific fonts

2008-11-05 Thread Behdad Esfahbod
Shepherd, Jason F wrote: I've recently downloaded the gtk+ stable release and we have started using it for text layout in a cross-platform environment (including windows). We would like to load an application-specific font to generate test images which are as close to identical as possible

How to specify fonts depends on encode?

2008-10-15 Thread Magicloud
Hi, I want to use sgi screen font for english (it is so pretty), and wqy for chinese. I specify screen-7 in .gtkrc2, which works very well for english. But when I display chinese, it choose a font and a size (I do not know how) autoly, so makes everything a mass. Can I specify the fonts

Linear Scaling of fonts with FreeType on Cairo

2007-12-06 Thread Karl Reis
I'm trying to find a way to scale fonts linearly. As far as I can tell, the way to do it is to use a freetype font and turn hinting off. Using the API, I tried to pull some code together that would try to do that, but unfortunately, the font is still scaling non-linearly

Re: Linear Scaling of fonts with FreeType on Cairo

2007-12-06 Thread Behdad Esfahbod
On Thu, 2007-12-06 at 19:01 -0800, Karl Reis wrote: I'm trying to find a way to scale fonts linearly. As far as I can tell, the way to do it is to use a freetype font and turn hinting off. Using the API, I tried to pull some code together that would try to do that, but unfortunately

RE: Linear Scaling of fonts with FreeType on Cairo

2007-12-06 Thread Karl Reis
] On Behalf Of Behdad Esfahbod Sent: Thursday, December 06, 2007 2127 PM To: Karl Reis Cc: gtk-app-devel-list@gnome.org Subject: Re: Linear Scaling of fonts with FreeType on Cairo On Thu, 2007-12-06 at 19:01 -0800, Karl Reis wrote: I'm trying to find a way to scale fonts linearly. As far as I

RE: Linear Scaling of fonts with FreeType on Cairo

2007-12-06 Thread Behdad Esfahbod
Great! On Thu, 2007-12-06 at 22:38 -0800, Karl Reis wrote: I also tried it with the TOY font and I got the same error. The toy font backend is not a real backend. Pango doesn't recognize it and can't use it. The available ones are FreeType, win32, and ATSUI. You are using win32 obviously. --

RE: Linear Scaling of fonts with FreeType on Cairo

2007-12-06 Thread Karl Reis
Subject: RE: Linear Scaling of fonts with FreeType on Cairo Great! On Thu, 2007-12-06 at 22:38 -0800, Karl Reis wrote: I also tried it with the TOY font and I got the same error. The toy font backend is not a real backend. Pango doesn't recognize it and can't use it. The available ones

How get actuell Fonts of widget

2007-09-06 Thread [EMAIL PROTECTED]
Hello how can I get the font of an widget what is teh pango or gtk or ??? API to get it. to use is as paramenter in pango_get_font_metrics call. Who can help me please mfg günther -- R=I+S Rapp Informatik Systeme GmbH Rosenbühlstr. 24 D-89182 Bernstadt Tel: +49

Fonts problem

2007-07-17 Thread Matthew Jiang
/etc/pango/pango.modules' You should create this file by running pango-querymodules. Fontconfig error: Cannot load default config file No fonts found; this probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file. More information

Re: Fonts problem

2007-07-17 Thread Luis A. Montes
correctly. This probably means there was an error in the creation of: '/Gtk_dk/etc/pango/pango.modules' You should create this file by running pango-querymodules. Fontconfig error: Cannot load default config file No fonts found; this probably means that the fontconfig library is not correctly

points, pixels, fonts and pango

2007-05-13 Thread Pawel S. Veselov
Hi, I'm trying to get my head around computing a font size that I should use to fill in a box, so the letters actually fit into that box. I know the height of the box, in pixels. From what I understood, the font point is 1/72 of an inch. My display shows 75 dpi as it's vertical resolution. Which

GTK No fonts found; this probably means that the fontconfig library is not correctly configured

2007-04-03 Thread arthy geraldin
Hello, I'm using the JMP tool Java memory profiler which comes up only if GTK is installed. When I try to bring up my GUI using GTK I get the following errors. jmp: Enabling localization. jmp: Loaded and registered correctly. No fonts found; this probably means that the fontconfig library

Installing BDF fonts

2006-10-07 Thread Dheeraj V.S.
Hi, I would like to install some TTF and BDF fonts and use them in my GTK applications (using DirectFB). I was successful with installation of TTF fonts. I ran `fc-cache' on the folder containing TTF fonts and the corresponding cache file got created. But the same procedure failed in the case

Adding fonts

2006-09-19 Thread Dheeraj V.S.
Hello all, I'm using GTK+-2.6.10 with DirectFB 0.9.25. I've also installed freetype-2.1.10 and fontconfig. I need to add some TrueType fonts, so that my applications could use them. Where should I put the font files? The fonts.conf file contains the following directory list: dir/usr

Adding fonts

2006-09-19 Thread Dheeraj V.S.
Hello all, I'm using GTK+-2.6.10 with DirectFB 0.9.25. I've also installed freetype-2.1.10 and fontconfig. I need to add some TrueType fonts, so that my applications could use them. Where should I put the font files? The fonts.conf file contains the following directory list: !-- Font directory

Re: Odd font display problem on AIX 5.2/5.3 with _same_ fonts

2005-11-15 Thread Albert Chin
had access to the _same_ fonts. The ~/.fonts.cache-1 file generated on each system is the same. I'm testing with the GTK+ demo program. Images of the initial window is available from: ftp://support.thewrittenword.com/outgoing/gtk/aix52.png ftp://support.thewrittenword.com/outgoing/gtk

Re: Odd font display problem on AIX 5.2/5.3 with _same_ fonts

2005-11-12 Thread Iago Rubio
On Sat, 2005-11-12 at 00:04 -0600, Albert Chin wrote: [Originally posted in October but no response so reposting] I'm having an odd font display problem with GTK+ 2.6.8 on AIX 5.3. I made sure both the AIX 5.2 and 5.3 systems had access to the _same_ fonts. The ~/.fonts.cache-1 file

Odd font display problem on AIX 5.2/5.3 with _same_ fonts

2005-11-11 Thread Albert Chin
[Originally posted in October but no response so reposting] I'm having an odd font display problem with GTK+ 2.6.8 on AIX 5.3. I made sure both the AIX 5.2 and 5.3 systems had access to the _same_ fonts. The ~/.fonts.cache-1 file generated on each system is the same. I'm testing with the GTK

Odd font display problem on AIX 5.2/5.3 with _same_ fonts

2005-10-07 Thread Albert Chin
I'm having an odd font display problem with GTK+ 2.6.8 on AIX 5.3. I made sure both the AIX 5.2 and 5.3 systems had access to the _same_ fonts. The ~/.fonts.cache-1 file generated on each system is the same. I'm testing with the GTK+ demo program. Images of the initial window is available from

Re: Fonts

2005-08-02 Thread Owen Taylor
On Tue, 2005-08-02 at 00:16 +1000, Russell Shaw wrote: Hi, Does all text in gtk/pango get sent to the X server as ascii, or are bitmaps sent too? If sent as ascii, is it 7-bit, 8-bit, or something longer? Does gtk have any control over what renders the fonts at the X server? Is XDrawString

Re: Fonts

2005-08-02 Thread Liam R. E. Quin
which glyph to render, or if there are fonts where each *bitmap* for a character is sent from the client to the server. It's rather more complex than that. In the simplest case, an instruction to draw at a given location is sent using the X protocol, and the operands include the graphics context

Re: Fonts

2005-08-01 Thread Liam R. E. Quin
On Tue, 2005-08-02 at 00:16 +1000, Russell Shaw wrote: Hi, Does all text in gtk/pango get sent to the X server as ascii, or are bitmaps sent too? Both, depending on whether client-side core X fonts are used or whether client-side fonts are used with Xft. If sent as ascii, is it 7-bit, 8-bit

GTK, Pango Fonts

2005-05-20 Thread Brian Hanley
Hi all, I am trying to figure out how to make proper use of fonts with GTK, and am not find a whole lot of answers out there. Here are some of my questions: 1. Is there a Pango FAQ, or GTK fonts FAQ? Specifically, is there a document describing how Pango is built on top of, and works