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

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. O

Re: GTK+3 fonts

2012-10-21 Thread Roger Davis
27;m using 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: ...

Re: GTK+3 fonts

2012-10-21 Thread Liam R E Quin
this 16pt 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 0

Re: GTK+3 fonts

2012-10-21 Thread Michael Torrie
fallback font: > > % fc-match yuk-yuk > Vera.ttf: "Bitstream Vera Sans" "Roman" > > I suppose what I would 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), b

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

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
.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
quot; "Roman" Obviously this explains a lot. 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/f

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

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-20 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

GTK+3 fonts

2012-10-20 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 seem

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 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 setting styles on t

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 know

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.

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. Ma

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, lik

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... vector* LXUtils::GetAllFontNames() { // RETURN a pointer to a static string vector that contains the font names static vector vsFonts; if (vsFonts.empty()) { // Only both

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/

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!

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

RE: Loading application specific fonts

2008-11-06 Thread Shepherd, Jason F
: Loading application specific 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 f

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 possi

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.

How to specify fonts depends on encode?

2008-10-14 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

RE: Linear Scaling of fonts with FreeType on Cairo

2007-12-06 Thread Karl Reis
pp-devel-list@gnome.org > 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 b

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
d [mailto:[EMAIL PROTECTED] 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: >

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 > u

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-lin

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 (0)73

Re: Fonts problem

2007-07-17 Thread Luis A. Montes
. Pango will not work 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 proba

Fonts problem

2007-07-17 Thread Matthew Jiang
tk_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 configured. You may need to edit the fonts.conf configuration file. More i

Re: points, pixels, fonts and pango

2007-05-13 Thread Liam R E Quin
size seems to vary > from a measurement of a specific letter, to the actual distance between max > ascent and max descent. Pango's font size doesn't seem to be the later at > least... Usually font size is none of the above, but font "design size". With metal fon

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

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

2007-04-03 Thread Andrew Cowie
On Tue, 2007-04-03 at 20:05 +0530, arthy geraldin wrote: > These are the commands I used for installing gtk. Is there a a compelling reason why you are trying to build the entire GTK stack manually yourself? It's always been a moderately tricky task (this is why jhbuild and GARNOME - and for that

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 libra

Re: win32 fonts

2007-02-28 Thread Michael L Torrie
want to users dont > need to install GTK libraries. > > My program works if I uninstall Gtk and copy the dll inside the folder. > But fonts dont work. You need all the other gtk folders in the same place as your binary and dlls. Such as etc, share, lib. They are looked for relat

win32 fonts

2007-02-28 Thread Marcelo Armengot
e dll inside the folder. But fonts dont work. thanks i think this is too easy for all of you ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

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 ca

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

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 director

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

2005-11-15 Thread Albert Chin
de 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: > > ftp:

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 ~

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 wi

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 avai

Re: Fonts

2005-08-02 Thread Liam R. E. Quin
server > side knows 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 operand

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

Re: Fonts

2005-08-01 Thread Russell Shaw
Liam R. E. Quin wrote: 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

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

Fonts

2005-08-01 Thread Russell Shaw
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 used? ___ gtk-app

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 with

Re: gtk and fonts on OS X

2005-02-28 Thread Allin Cottrell
On Mon, 28 Feb 2005, Paolo Costabel wrote: A bit off topic, but I think you might be interested in this project: http://sourceforge.net/projects/gtk-cocoa/ It's a port of Gtk+ 1.2 to cocoa native... This looks rather nice. Thanks for the info. Allin Cottrell ___

Re: gtk and fonts on OS X

2005-02-28 Thread Allin Cottrell
On Mon, 28 Feb 2005, John Cupitt wrote: I'm able to build and run my gtk app just fine on OS X 10.2.4 plus fink. But I'd like to make the app available to people running OS X 10.3 Panther, with Apple's X11 but without fink. This 'just worked' for me. Though I've not tried building on 10.2 and runn

Re: gtk and fonts on OS X

2005-02-28 Thread Paolo Costabel
the app won't run on account of a problem with fonts Cannot open fallback font, nothing to do That is, gtk/pango can't find anything to map to Monospace or Sans. Does anyone with OS X experience have any idea what might be wrong/missing here? (

Re: gtk and fonts on OS X

2005-02-28 Thread John Cupitt
Hi, On Mon, 28 Feb 2005 13:33:03 -0500 (EST), Allin Cottrell <[EMAIL PROTECTED]> wrote: > I'm able to build and run my gtk app just fine on OS X 10.2.4 plus > fink. But I'd like to make the app available to people running > OS X 10.3 Panther, with Apple's X11 but without fink. This 'just worked'

gtk and fonts on OS X

2005-02-28 Thread Allin Cottrell
libraries). But I'm hearing that the app won't run on account of a problem with fonts Cannot open fallback font, nothing to do That is, gtk/pango can't find anything to map to Monospace or Sans. Does anyone with OS X experience have any idea what might be wrong/missing here? (

Re: Re[2]: Fonts

2005-01-24 Thread John Cupitt
anted to be able to pick a good looking font. (I can still remember the horror I felt when I realised what my application looked like on solaris, where only certain very specific fonts at certain pointsizes did not look frightful ... though solaris is much better now). It also makes portability to win

Re: Re[2]: Fonts

2005-01-24 Thread Iago Rubio
On Mon, 2005-01-24 at 12:19, Alexander S.Kresin wrote: > On 21.01.2005 15:20, John Cupitt <[EMAIL PROTECTED]> wrote: > > JC> On Fri, 21 Jan 2005 15:09:45 +0300, Alexander S.Kresin > JC> <[EMAIL PROTECTED]> wrote: > >> Is the pango font system really better than the old GdkFont ? > >> What are

Pango fonts

2005-01-24 Thread Alexander S.Kresin
Hello All, sorry to disturb you with a simple basic questions, but ... Win32 API has a function GetTextMetric(), which returns the height, maximum char width for a given font in pixels. How can I get the same values for a given PangoFontDescription, or for a pango layout where this font is se

Re[2]: Fonts

2005-01-24 Thread Alexander S.Kresin
On 21.01.2005 15:20, John Cupitt <[EMAIL PROTECTED]> wrote: JC> On Fri, 21 Jan 2005 15:09:45 +0300, Alexander S.Kresin JC> <[EMAIL PROTECTED]> wrote: >> Is the pango font system really better than the old GdkFont ? >> What are the possible problems if I'll use the GdkFont in my >> programs i