Re: GTK+3 fonts
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
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 request it everywhere. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml ___ 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
Thanks for all the followup, Liam & Michael! By default I believe the mac changes antialiasing and hinting strategies (is this 16pt or 16px?) I'm using the simple Cairo text drawing functions here. Size is being set as Cairo user space units, which should be just pixels as I'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: ... sans-serif Bitstream Vera Sans DejaVu Sans Looks like a list of fonts that are aliased as substitutes for sans-serif, with Vera at the top of the list. I suspect if I re-ordered the list I could get things the way I wanted. 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. Anyway, you guys have given me plenty of things to look into, thanks very much! 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
On Sun, 2012-10-21 at 09:58 -1000, Roger Davis wrote: > when I > downsize my font display to smaller sizes (anything 16 or below), the font > weight appears to make a dramatic shift from Book to ExtraLight. By default I believe the mac changes antialiasing and hinting strategies (is 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 06:51 fonts.list > 120 -rw-r--r-- 1 root wheel 57364 Oct 21 06:51 fonts.scale mkfontscale does this (and/or mkfontdir) The files are being ignored in practice by gtk. They are for legacy applications that still use X-native font machinery, and are read by the X server and by the X font server, if it's in use. It shouldn't be. > Finally, I did some experimenting with removing ttf files from > /opt/X11/share/fonts/TTF. I found that if I got rid of the Vera*ttf files, > then this happened: > % fc-match yuk-yuk > Vera.ttf: "Bitstream Vera Sans" "Roman" Yes, there's a fallback defined in one of he fonts.conf files. > 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) The pango renderer will try to substitute glyphs from other fonts as needed, so this shouldn't be a problem. It's possible that some other gtk+ back end doesn't do this. You can edit the fonts.conf files to change the default font. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml ___ 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
On 10/21/2012 01:58 PM, Roger Davis wrote: > % fc-match Sans > DejaVuSans.ttf: "DejaVu Sans" "Book" > > And if I put them back, things are restored as before: > > % fc-match Sans > Vera.ttf: "Bitstream Vera Sans" "Roman" > > Can anyone explain how this works? Is there some complicated font > parameter examination taking place here, or is it as simple, at least in > some cases, as a single defined fallback font for everything when a > specified font cannot be located? Curiously, this test returns the same > 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), 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 in the fontconfig configs. On linux, this is normally in /etc/fonts/conf*. I don't know where they are on macports, but probably in a similar path, maybe /opt/etc/fonts. These config files specify the logic fontconfig should use in searching for a font which is rendered via freetype. Substitutions and fallback fonts are all specified here. This way if someone just requests "sans" or "roman," they get a suitable font, if installed, or the fallback font. Also fontconfig specifies what to do at smaller font sizes, how to do hinting, etc. It's possible that the hinting is changing as the font get smaller. Maybe on macports they default to having more and more hinting at smaller sizes for legibility, whereas on CentOS they don't turn on as much hinting (I turn it off completely on my Fedora machines). ___ 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
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 remaining problems, namely that when I downsize my font display to smaller sizes (anything 16 or below), the font weight appears to make a dramatic shift from Book to ExtraLight. This happens on the Mac but not on CentOS. Anyone know why this is happening and if there is a way to prevent it? 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 root wheel 57364 Oct 21 06:51 fonts.scale I don't believe I did anything other than copy some ttf files into this directory and run fc-match and fc-list a few times. Does anyone know how these get created, and is their presence critical to anything, particularly any kind of font lookup procedure? It's quite possible that they were there before I started tweaking things, but their modification times have clearly been updated, and the fonts.list file now contains references to the new DejaVuSans fonts. Finally, I did some experimenting with removing ttf files from /opt/X11/share/fonts/TTF. I found that if I got rid of the Vera*ttf files, then this happened: % fc-match Sans DejaVuSans.ttf: "DejaVu Sans" "Book" And if I put them back, things are restored as before: % fc-match Sans Vera.ttf: "Bitstream Vera Sans" "Roman" Can anyone explain how this works? Is there some complicated font parameter examination taking place here, or is it as simple, at least in some cases, as a single defined fallback font for everything when a specified font cannot be located? Curiously, this test returns the same 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), 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? Thanks! 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
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, but my own apps don't: % fc-list | grep Deja /usr/X11/lib/X11/fonts/TTF/DejaVuSansCondensed-Oblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique /usr/X11/lib/X11/fonts/TTF/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique /usr/X11/lib/X11/fonts/TTF/DejaVuSans.ttf: DejaVu Sans:style=Book ... etc. /usr/X11/lib/X11/fonts is a symbolic link to /opt/X11/share/fonts. Thanks, 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
Thanks, Michael. My MacOS GTK+3 install is using the X11 backend, or so I assume given that when my apps appear they have a small X icon embedded into each window titlebar. You said that in this case font usage is controlled by freetype. How would I (re)configure freetype to recognize new .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
$ fc-match Sans DejaVuSans.ttf: "DejaVu Sans" "Book" Aargh, I'm stupid, Liam! Somehow I managed to skip over the key piece of information you supplied in your brief response. Here's what I get on my Mac: % fc-match Sans Vera.ttf: "Bitstream Vera Sans" "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/fonts/TTF ... ... but also a bunch of other stuff here: /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/Resources/FontInfo/BitstreamVeraSans-Bold.fontinfo /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/Resources/FontInfo/BitstreamVeraSans-BoldOblique.fontinfo ... I suspect, but can't be sure, that the latter files were part of the MacOS install. The ttf files in /opt/X11/share/fonts/TTF almost certainly came from either a MacPorts package install (which could have been either from the gtk3 package or any one of a number of X11-related packages) or from an XQuartz install (Mountain Lion no longer has integrated X11, you must install XQuartz separately), and I have no idea which. Anyway, I tar'd up all the DejaVu*ttf files from /usr/share/fonts on my CentOS 6 machine and dumped them into /opt/X11/share/fonts on the Mac, but my app does not seem able to find them there, and fc-match still says that Sans is aliased to the Bitstream Vera font. It would seem that there is still some other piece of font lookup information that is missing. Any idea on what that might be? Thanks! 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
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 system. If you are using the X11 backend, then the fonts come from where ever freetype is configured to pull them from, which on OS X could be somewhere in the macports install directory, and maybe from the OS X system font directory. Most fonts on OS X are *.otf, not *.ttf, which could be why you can't find them with a search. As for font rendering differences, if you are using the quartz backend, then it's likely that the font rendering is being done by OS X and quartz, not freetype. So any differences are a result of their algorithms (which do no font hinting whatsoever). ___ 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
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-terminal profiles font selection dialog, it appears that Sans is an alias for DejaVu Sans Book. Digging a little deeper, I am noticing a number of bewildering differences between my CentOS 6 and Mac systems with regard to this font problem, however, and it's not at all clear why the differences exist, partly because (i) my CentOS system is basically a Gnome 2 environment to which I have added GTK+3 and related (i.e., up-to-date glib, cairo, etc.) libraries, and (ii) although I don't think that my Mac is similarly polluted with any Gnome 2 packages (as I only installed the MacPorts gtk3 atop the base MacOS), it probably does not have anywhere close to a full set of Gnome fonts of any vintage. I have a test drawing program (that calls the Cairo font selection and text drawing routines) which allows me to specify a font and fontsize and some arbitrary text. On CentOS, when I use DejaVu Sans and gradually decrement the size from about 24 down to 14, for instance, the rendered text all looks basically the same, just smaller as one would expect. Running the same test code on the Mac, however, when I move from 17 to 16 using DejaVu Sans, the text actually changes markedly in appearance to something that looks more like DejaVu Sans ExtraLight at the smaller size. Also, a certain UTF-8 character ("\342\206\220", a left arrow) that renders just fine on CentOS with DejaVu Sans does not render at all on Mac OS, even at the larger font sizes which look more similar to the CentOS DejaVu Sans. (This character instead renders as a small boxed rectangle around a blank space, which I interpret to mean that the font does not support that particular UTF-8 value.) Finally, I can't seem to locate the Gnome fonts anywhere on my Mac, although when I use my test program to draw with certain fonts (Courier 10 Pitch, Nimbus Mono L) cairo seems to find something reasonable. Under CentOS they are in /usr/share/fonts (although this is probably their Gnome 2 location, I have no idea where a full Gnome 3 installation would put them). On my Mac, however, I did a find (Unix shell command) search and the only DejaVu files I could locate were in /Applications/OpenOffice.org.app/Contents/basis-link/share/fonts/truetype/DejaVuSans.ttf which seem to be part of the OpenOffice package and not part of any installed Gnome fonts. Any explanation for these mysteries, or any pointers to some decent documentation on Gnome 2/3 font configuration and installation? Thanks! Roger On Sun, 21 Oct 2012, Liam R E Quin wrote: 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 to your Mac. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml ___ 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
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 to your Mac. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml ___ 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
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 to be properly installed on my Mac and I am trying to figure out how to correct the problem. I have installed the MacPorts gtk3 package, and subsequently built the gsettings-desktop-schemas-3.6.0 to get my apps up and running. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Combo-box with scrollbar as the COMBO-BOX in LibreOffice that have in the list of FONTS
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 ... You .. I could give an example of CODE written in GTK 3.0 or VALA (gtk) or a PyGtk 3.0 . a example COMBO-BOX with SCROLLBAR . or spend a link of a website , where I can get an example of COMBO-BOX with SCROLLBAR I wrote an in GTK 3.0 widgets. If . I active aPOPUP WINDOW (POPUP WINDOW=MENU ) with a TOGGLEBUTTON... when you clicked the button to close the window. 1). First . The TOGGLEBUTTON is off. the POPUP WINDOW is hidden . 2) Then recently . I can close the window. To here all works fine. But I can not do the same with the buttons on the maximize and minimize WINDOW .. I must achieve the same effect as the widgets , POPUP MENU and COMBO-BOX , with these events . If I you can help , I'll be grateful . When , you have a time. you can constestarme. Best regards . Mariano. I show . the code I've written in GTK 3.0. /// #include enum { LIST_ITEM = 0, N_COLUMNS }; static void init_list(GtkWidget *list) { GtkCellRenderer *renderer; GtkTreeViewColumn *column; GtkListStore *store; renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("List Items", renderer, "text", LIST_ITEM, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(list), column); store = gtk_list_store_new(N_COLUMNS, G_TYPE_STRING); gtk_tree_view_set_model(GTK_TREE_VIEW(list), GTK_TREE_MODEL(store)); g_object_unref(store); } static void add_to_list(GtkWidget *list, const gchar *str) { GtkListStore *store; GtkTreeIter iter; store = GTK_LIST_STORE(gtk_tree_view_get_model (GTK_TREE_VIEW(list))); gtk_list_store_append(store, &iter); gtk_list_store_set(store, &iter, LIST_ITEM, str, -1); } static void clicked1(GtkWindow *window, GdkEventButton *event, gpointer buttonf) { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(buttonf),FALSE); } static void loc1(GtkWindow *window, GdkEventButton *event, gpointer buttonf) { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(buttonf),FALSE); } static void ponja2(GtkWindow *window, GdkEventButton *event, gpointer buttonf) { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(buttonf),FALSE); } / void activado(GtkWidget *widget, gpointer window3) { if ( gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget))) { gtk_widget_hide(window3); gtk_widget_show_all(window3); } else { gtk_window_iconify (GTK_WINDOW (window3) ); gtk_widget_hide(window3); } } /// void ventana_p(GtkWindow *window, GdkEvent *event, gpointer window3 ) { int x, y; char buf[10]; x = event->configure.x; y = event->configure.y; sprintf(buf, "%d, %d", x, y); gtk_window_set_title(window3, buf); gtk_window_move ( GTK_WINDOW(window3), x+30, y+35 ); } // int main(int argc, char *argv[]) { GtkWidget *window; GtkWidget *vbox2 ; GtkWidget *vbox11; GtkWidget *fixed; GtkWidget *buttonf; GtkWidget *vboxtext; GtkWidget *viewarea; GtkWidget *textview; GtkTextBuffer *buffer; GtkWidget *window3; GtkWidget *vboxw; GtkWidget *vboxs; GtkWidget *scrolled_window ; GtkWidget *list; GtkTreeSelection *selection; GtkWidget *label; gtk_init(&argc, &argv); // Ventana Popup / Window Popup /// window3 = gtk_window_new(GTK_WINDOW_POPUP); gtk_window_set_title(GTK_WINDOW(window3), "enter signal"); gtk_widget_hide(window3); vboxw = gtk_hbox_new(FALSE, 0); gtk_container_set_border_width (GTK_CONTAINER (vboxw), 3); gtk_container_add(GTK_CONTAINER(window3), vboxw); gtk_widget_show (vboxw); /* This is the scrolled window to put the List widget inside */ scrolled_window=gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_widget_set_size_request(scrolled_window,120, 300); gtk_box_pack_start(GTK_BOX(vboxw),
Re: gtkhtml fonts
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 the widget and haven't gotten that to work > either. Does anyone know the reason for this or how to accomplish > this? Replying to my own question here, just in case any one else needs to know this. Here's how you can change the font: PangoContext* pc = gtk_widget_get_pango_context(gtkText); PangoFontDescription *desc = pango_context_get_font_description(pc); pango_font_description_set_family(desc, "Serif"); gtk_widget_modify_font(gtkText, desc); Our problem was we were using gtk_widget_create_pango_context, rather than gtk_widget_get_pango_context. Not sure why it used to work... Matthew ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gtkhtml fonts
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 the reason for this or how to accomplish this? Thanks, Matthew ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: fonts list using pango
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://library.gnome.org/devel/pango/unstable/pango-Fonts.html#pango-font-map-list-families Use pango_cairo_font_map_get_default() as your fontmap. behdad Manu TM ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
fonts list using pango
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 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: enumerating available fonts
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. Chuck On Wed, 2009-03-18 at 17:16 -0400, Behdad Esfahbod wrote: 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 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
re: enumerating available fonts
> 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 bother to do this the first time through LXMainWindow* pWind = LXMainWindow::GetAppMainWindow(); // Get Gtk::Window* Glib::RefPtr rPC = pWind->get_pango_context(); Glib::ArrayHandle< Glib::RefPtr > fonts = rPC->list_families(); Glib::Container_Helpers::ArrayHandleIterator > > iFont = fonts.begin(); for (; iFont != fonts.end(); iFont++) { vsFonts.push_back((*iFont)->get_name()); } } return &vsFonts; } -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: enumerating available fonts
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 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 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: enumerating available fonts
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 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
enumerating available fonts
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@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
RE: Loading application specific fonts
Okay. Thank you for your help... Jason > -Original Message- > From: Behdad Esfahbod [mailto:[EMAIL PROTECTED] On > Behalf Of Behdad Esfahbod > Sent: Wednesday, November 05, 2008 2:49 PM > To: Shepherd, Jason F > Cc: gtk-app-devel-list@gnome.org > Subject: Re: 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 font to > > generate test images which are as close to identical as possible > > across all of the platforms. What are the best options for > > accomplishing this? (We don't want to necessarily require users to > > have administrative privileges.) > > > Hi, > > Right now, your best bet is to always use a Gtk+ build with > the PangoFc backend, and call FcConfigAppFontAddFile before > initializing Gtk+. In the long term, there will be Pango API > to do what you want cross-platform. This is the bug to > monitor for the status of that work: > > http://bugzilla.gnome.org/show_bug.cgi?id=347237 > > behdad > > > Thanks, > > > > Jason Shepherd > > > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: 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 font to generate test images which > are as close to identical as possible across all of the platforms. What are > the best options for accomplishing this? (We don't want to necessarily > require users to have administrative privileges.) Hi, Right now, your best bet is to always use a Gtk+ build with the PangoFc backend, and call FcConfigAppFontAddFile before initializing Gtk+. In the long term, there will be Pango API to do what you want cross-platform. This is the bug to monitor for the status of that work: http://bugzilla.gnome.org/show_bug.cgi?id=347237 behdad > Thanks, > > Jason Shepherd ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Loading application specific fonts
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. What are the best options for accomplishing this? (We don't want to necessarily require users to have administrative privileges.) Thanks, Jason Shepherd ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
How to specify fonts depends on encode?
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 myself? Thanks. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
RE: Linear Scaling of fonts with FreeType on Cairo
I see. Yes, that's right as the error went away when I explicitly specified the win32 font. > -Original Message- > From: Behdad Esfahbod [mailto:[EMAIL PROTECTED] On Behalf Of > Behdad Esfahbod > Sent: Thursday, December 06, 2007 2302 PM > To: Karl Reis > Cc: gtk-app-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 backend. Pango doesn't recognize it > and can't use it. The available ones are FreeType, win32, and ATSUI. > You are using win32 obviously. > > -- > behdad > http://behdad.org/ > > ...very few phenomena can pull someone out of Deep Hack Mode, with two > noted exceptions: being struck by lightning, or worse, your *computer* > being struck by lightning. -- Matt Welsh ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
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 are FreeType, win32, and ATSUI. You are using win32 obviously. -- behdad http://behdad.org/ ...very few phenomena can pull someone out of Deep Hack Mode, with two noted exceptions: being struck by lightning, or worse, your *computer* being struck by lightning. -- Matt Welsh ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
RE: Linear Scaling of fonts with FreeType on Cairo
Thank you for your excellent reply! I modified the code per your suggestions and it worked perfectly. Here is the full snippet of code for anyone else who might find this useful: cairo_font_options_t*options; cairo_t *cr; PangoFontMap*fm; PangoContext*context; PangoLayout *layout; PangoFontDescription*pfd; cr = gdk_cairo_create (pixmap); fm = pango_cairo_font_map_get_default (); pango_cairo_font_map_set_resolution (PANGO_CAIRO_FONT_MAP(fm), 96); context = pango_cairo_font_map_create_context (PANGO_CAIRO_FONT_MAP(fm)); options = cairo_font_options_create (); cairo_font_options_set_hint_style (options, CAIRO_HINT_STYLE_NONE); cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_OFF); pango_cairo_context_set_font_options (context, options); layout = pango_layout_new (context); pango_layout_set_text (layout,text_string,-1); pfd = pango_font_description_new (); pango_font_description_set_size (pfd,12*PANGO_SCALE*scale_factor); pango_layout_set_font_description (layout,pfd); cairo_move_to (cr, x, y); pango_cairo_show_layout (cr,layout); So, I guess I ended up using some default font which I presume is not a freetype font. But, it worked. To answer your question below, I did check for NULL and indeed the font map created was NULL which means as you indicate that the cairo I have is not compiled with the freetype backend enabled. For what it's worth, I also tried it with the "TOY" font and I got the same error. I am running on mingw windows with the binaries derived straight from Tor's page. Thanks again for your help, Karl > -Original Message- > From: Behdad Esfahbod [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: > > 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. > > You're on the right track. All font backends are supposed to support > that but I'm not sure how non-freetype ones handle it right now. > > > > cairo_font_options_t *options; > > > > PangoFontMap*fm; > > > > PangoContext*context; > > > > > > > > fm = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT); > > > > pango_cairo_font_map_set_resolution (PANGO_CAIRO_FONT_MAP(fm), 96); > > > > context = pango_cairo_font_map_create_context > > (PANGO_CAIRO_FONT_MAP(fm)); > > > > > > > > options = cairo_font_options_create (); > > > > cairo_font_options_set_hint_style (options, CAIRO_HINT_STYLE_NONE); > > > > pango_cairo_context_set_font_options (context, options); > > > > During runtime I receive the following error: > > > > Pango-CRITICAL **: pango_cairo_font_map_create_context: assertion > > `PANGO_IS_CAIRO_FONT_MAP (fontmap)' failed > > What's your platform? This pretty much means that > pango_cairo_font_map_new_for_font_type() returned NULL, which according > to the docs, means that pango detected at compile time that your cairo > isn't compiled with the freetype font backend enabled. > > Most of the time you just need pango_cairo_font_map_get_default(). > > > > Specifically, how can I use a PangoCairoFontMap in such a scenario? The > > documentation states that I should be getting such a structure upon > calling > > pango_cairo_font_map_new_for_font_type. However, all I get is a > > PangoFontMap. I'm not sure what the difference is between these two > > structures and/or if one can be type cast onto another. > > PangoCairoFontMap is a PangoFontMap. Think object-oriented programming. > > > > More generally, how can I scale fonts linearly using the Pango, Cairo > API? > > You are setting hint_style. That affects rendering of the glyphs but > not their extents. You should turn metrics hinting off for that. > cairo_font_options_set_hint_metrics(). > > > > Tutorials, guides would be very helpful. > > A tutorial is in the works right now, but far from complete: > > http://bugzilla.gnome.org/show_bug.cgi?id=50 > > > Thanks, > > > > > > > > Karl > > > Have fun with pangocairo! > > -- > behdad > http://behdad.org/ > > ...very few phenomena can pull someone out of Deep Hack Mode, with two > noted exceptions: being struck by lightning, or worse, your *computer* > being struck by lightning. -- Matt Welsh ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
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 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. You're on the right track. All font backends are supposed to support that but I'm not sure how non-freetype ones handle it right now. > cairo_font_options_t *options; > > PangoFontMap*fm; > > PangoContext*context; > > > > fm = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT); > > pango_cairo_font_map_set_resolution (PANGO_CAIRO_FONT_MAP(fm), 96); > > context = pango_cairo_font_map_create_context > (PANGO_CAIRO_FONT_MAP(fm)); > > > > options = cairo_font_options_create (); > > cairo_font_options_set_hint_style (options, CAIRO_HINT_STYLE_NONE); > > pango_cairo_context_set_font_options (context, options); > > During runtime I receive the following error: > > Pango-CRITICAL **: pango_cairo_font_map_create_context: assertion > `PANGO_IS_CAIRO_FONT_MAP (fontmap)' failed What's your platform? This pretty much means that pango_cairo_font_map_new_for_font_type() returned NULL, which according to the docs, means that pango detected at compile time that your cairo isn't compiled with the freetype font backend enabled. Most of the time you just need pango_cairo_font_map_get_default(). > Specifically, how can I use a PangoCairoFontMap in such a scenario? The > documentation states that I should be getting such a structure upon calling > pango_cairo_font_map_new_for_font_type. However, all I get is a > PangoFontMap. I'm not sure what the difference is between these two > structures and/or if one can be type cast onto another. PangoCairoFontMap is a PangoFontMap. Think object-oriented programming. > More generally, how can I scale fonts linearly using the Pango, Cairo API? You are setting hint_style. That affects rendering of the glyphs but not their extents. You should turn metrics hinting off for that. cairo_font_options_set_hint_metrics(). > Tutorials, guides would be very helpful. A tutorial is in the works right now, but far from complete: http://bugzilla.gnome.org/show_bug.cgi?id=50 > Thanks, > > > > Karl Have fun with pangocairo! -- behdad http://behdad.org/ ...very few phenomena can pull someone out of Deep Hack Mode, with two noted exceptions: being struck by lightning, or worse, your *computer* being struck by lightning. -- Matt Welsh ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Linear Scaling of fonts with FreeType on Cairo
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. cairo_font_options_t *options; PangoFontMap*fm; PangoContext*context; fm = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT); pango_cairo_font_map_set_resolution (PANGO_CAIRO_FONT_MAP(fm), 96); context = pango_cairo_font_map_create_context (PANGO_CAIRO_FONT_MAP(fm)); options = cairo_font_options_create (); cairo_font_options_set_hint_style (options, CAIRO_HINT_STYLE_NONE); pango_cairo_context_set_font_options (context, options); . During runtime I receive the following error: Pango-CRITICAL **: pango_cairo_font_map_create_context: assertion `PANGO_IS_CAIRO_FONT_MAP (fontmap)' failed Specifically, how can I use a PangoCairoFontMap in such a scenario? The documentation states that I should be getting such a structure upon calling pango_cairo_font_map_new_for_font_type. However, all I get is a PangoFontMap. I'm not sure what the difference is between these two structures and/or if one can be type cast onto another. More generally, how can I scale fonts linearly using the Pango, Cairo API? Tutorials, guides would be very helpful. Thanks, Karl ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
How get actuell Fonts of widget
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)7348-7755 Fax: +49 (0)7348-6086 E-MAIL mailto: [EMAIL PROTECTED] WEB www.rapp-informatik.de PS: Senden Sie mir bitte keine Anhänge in Microsoft (.DOC, .PPT) Format Bitte lesen Sie http://www.fsf.org/philosophy/no-word-attachmentsi.de.html Please don't send me any attachment in Microsoft (.DOC, .PPT) format please Read http://www.fsf.org/philosophy/no-word-attachments.html ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Fonts problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew Jiang wrote: > Hi, > > When I ran GTK demo application on my ARM board, I got this error message > and the application crashed: > > (buttons:159): Pango-WARNING **: No builtin or dynamically > loaded modules were found. 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 probably means that the fontconfig > library is not correctly configured. You may need to > edit the fonts.conf configuration file. More information > about fontconfig can be found in the fontconfig(3) manual > page and on http://fontconfig.org > > > I tried to copy some fonts (like /usr/share/fonts/bitstream-vera) from my > linux > host to my target. It works with crash. However, the characters do not > display correctly. > > Could anybody tell me how to solve this problem? > > Thank you, > > Matthew > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > I had a similar problem, albeit in a more prosaic environment: WindowsXP. The catch is that I wanted to install the minimum GTK+ and I wanted to do it from my own installer, I didn't want the end user to have to install GTK+. You probably didn't run the GTK+ installer either? I found out that I could make it behave if I created: /program-root-+->etc-+->fonts | +->pango-+->pango.aliases | +->pango.modules +->lib->pango->1.5.0->modules-+->pango-basic-fc.dll +->pango-basic-win32.dll Of course, YMMV and I had the advantage of being able to install in other computer and then just copy the same files over to the installer. This might be a no-no if the system already has GTK+ installed, I just happen to know that they didn't have it and that they were unlikely to want to go through two installers to get my program running. Hope it helps -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGnYI6J4+d0CQL2bIRAlOyAJ9PbJIGpfXA+stkj7R4tI7qsEpXDwCgyKZs YpJYc18WzSVXg87Bd9ZANTI= =5Ctn -END PGP SIGNATURE- ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Fonts problem
Hi, When I ran GTK demo application on my ARM board, I got this error message and the application crashed: (buttons:159): Pango-WARNING **: No builtin or dynamically loaded modules were found. 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 probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file. More information about fontconfig can be found in the fontconfig(3) manual page and on http://fontconfig.org I tried to copy some fonts (like /usr/share/fonts/bitstream-vera) from my linux host to my target. It works with crash. However, the characters do not display correctly. Could anybody tell me how to solve this problem? Thank you, Matthew ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: points, pixels, fonts and pango
On Sun, 2007-05-13 at 16:38 -0700, Pawel S. Veselov wrote: [...] > - what is the Pango font size, and is it portable across rendering engines ? > Now, that really to me seems to be a very basic question that I can't find > any easy answer for :). The common definition of a font 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 fonts, where each letter was cast onto a piece of metal used for printing, the letter didn't generally go all the way to the top or the bottom of the piece of type. As a result, the tallest letter and the lowest descender and the widest letter form an imaginary rectangle called the font bounding box, which is what you're interested in, and traditionally this had to be smaller than the type size, partly because the raised letters weren't perfectly vertical, but had sloping sides, as otherwise bits would break off during printing! Finding a (font, size) pair such that the maximum extents fit into a certain box is probably best done with binary search, I'm afraid. Don't forget to leave a full pixel between your text and the box, so they don't run into each other, and also don't forget that, for example, for Western fonts, an E with a circumflex accent (Ê) is taller than the cap height of the font, and if the font supports non-Western scripts such as Devanagari or Arabic, there may be even more room needed. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org www.advogato.org ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
points, pixels, fonts and pango
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 makes my pixel to be almost a point (96% of a point). But, somehow, if I set the absolute font size to be 25 pixel font, it gives me 27.5 ascent and 7.2 descent values. So, I guess, that's what I don't know: - is ascent/descent returned in points or pixels ? (I think it's points) - what is the Pango font size, and is it portable across rendering engines ? Now, that really to me seems to be a very basic question that I can't find any easy answer for :). The common definition of a font 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... Thanks ! Pawel. Bye. -- Pawel S. Veselov [vps], Sun Microsystems, Inc. Senior Staff Engineer, Consumer and Mobile Systems group.__ __(O) _ __ (408) 276-5410 e-mail: [EMAIL PROTECTED] \ V /| || ' \ fax(408) 276-6090 HomePage: http://manticore.2y.net\_/ |_||_|_|_| ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK No fonts found; this probably means that the fontconfig library is not correctly configured
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 matter, Linux and Unix distributions - exist). AfC Sydney ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GTK No fonts found; this probably means that the fontconfig library is not correctly configured
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 is not correctly configured. You may need to edit the fonts.conf configuration file. More information about fontconfig can be found in the fontconfig(3) manual page and on http://fontconfig.org I have installed fontconfig in a user defined directory not under the default directory because I do not have root permissions to the machine where I'm working. These are the commands I used for installing gtk. 1) /configure --sysconfdir=/home1/ci/test/etc --prefix=/home1/ci/test --mandir=/home1/ci/test/man 2) make 3) make install But I get the error No fonts found; this probably means that the fontconfig library is not correctly configured. when I bring up the GUI. Could anyone tell me why this error is happening. Thanks in advance, GA Yahoo! Singapore Answers Real people. Real questions. Real answers. Share what you know at http://answers.yahoo.com.sg ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: win32 fonts
On Wed, 2007-02-28 at 18:55 +0100, Marcelo Armengot wrote: > Hello > > I patched my last problem making TWO programs. A little one is > successfully calling the other one. > > Well, I have anoter question: > > I need release my application but if it's possible, i 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 relative to the gtk dll. > > > 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 > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
win32 fonts
Hello I patched my last problem making TWO programs. A little one is successfully calling the other one. Well, I have anoter question: I need release my application but if it's possible, i 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. 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
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 of BDF fonts: [EMAIL PROTECTED]:> ./fc-cache -vf ~/fonts/ ./fc-cache: "/home/dheeraj/fonts": caching, 0 fonts, 0 dirs Now the font is loaded in my GTK application using pango_font_description_from_string(). On googling I found that BDF fonts may first have to be converted to PCF using the command `bdftopcf'. But this also yielded no result. Any inputs are appreciated. Cheers, Dheeraj -- ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Adding fonts
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: /usr/share/fonts /usr/X11R6/lib/X11/fonts ~/.fonts Does that mean that any additional fonts can just be placed in any of these directories, or does anything else needs to be "installed"? And after adding a font, do I need to call pango_font_description_from_string() to use it? I'm a bit new to this and would appreciate any help or suggestions. Thank you. Regards, Dheeraj ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Adding fonts
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: /usr/share/fonts /usr/X11R6/lib/X11/fonts ~/.fonts Does that mean that any additional fonts can just be placed in any of these directories, or does anything else needs to be "installed"? And after adding a font, do I need to call pango_font_description_from_string to use it? I'm a bit new to this and would appreciate any help or suggestions. Thank you. Regards, Dheeraj ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Odd font display problem on AIX 5.2/5.3 with _same_ fonts
On Sat, Nov 12, 2005 at 10:15:30AM +0100, Iago Rubio wrote: > 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 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/aix53.png > > > > Why should the display be different if both systems have access to the > > same fonts? > > No idea, but from your screenshoots It looks the font set you're using > does not support U+0020 character - white space. > > Furthermore, that both systems have the same ~/.fonts.cache-1 does not > mean that are using the same font, and in this case it's sure they're > not using the same font. > > Take a look at /etc/fonts/fonts.conf - if it exists in AIX - and ensure > they're using a font with u+0020 support such as Bitstream Vera as > default. Foolish me. Things are working now. I forgot to add custom fonts like Bitstream Vera. Thanks. -- albert chin ([EMAIL PROTECTED]) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Odd font display problem on AIX 5.2/5.3 with _same_ fonts
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 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/aix53.png > > Why should the display be different if both systems have access to the > same fonts? No idea, but from your screenshoots It looks the font set you're using does not support U+0020 character - white space. Furthermore, that both systems have the same ~/.fonts.cache-1 does not mean that are using the same font, and in this case it's sure they're not using the same font. Take a look at /etc/fonts/fonts.conf - if it exists in AIX - and ensure they're using a font with u+0020 support such as Bitstream Vera as default. -- Iago Rubio ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Odd font display problem on AIX 5.2/5.3 with _same_ fonts
[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+ demo program. Images of the initial window is available from: ftp://support.thewrittenword.com/outgoing/gtk/aix52.png ftp://support.thewrittenword.com/outgoing/gtk/aix53.png Why should the display be different if both systems have access to the same fonts? -- albert chin ([EMAIL PROTECTED]) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Odd font display problem on AIX 5.2/5.3 with _same_ fonts
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: ftp://support.thewrittenword.com/outgoing/gtk/aix52.png ftp://support.thewrittenword.com/outgoing/gtk/aix53.png Why should the display be different if both systems have access to the same fonts? -- albert chin ([EMAIL PROTECTED]) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Fonts
On Tue, 2005-08-02 at 10:35 +1000, Russell Shaw wrote: > I was wandering if every time a gtk app prints some text, the instructions > for each character to print are sent as 1 byte, or 4 bytes like utf-8 or > whatever (eg, 0x61 for 'a') so that the text rendering thing on the 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 operands include the graphics context to use, the drawable to draw onto, the x and y coordinates (all as 16-bit integers I think, although compression is used in some circumstances) followed by the 16-bit length of the string, followed by the string, and the server maps each character of the string to the corresponding bitmap in a font. However, it turns out to be faster and more efficient to render the fonts to bitmaps on the client. The first time each character is used it is sent to the server as a bitmap, but subsequently it is reused. One reason that this is more efficient is that in order for the client to tell the server to use the server-side fonts, the server has to send the full font metrics to the client -- the bounding box of each character, etc. -- and this is a lot of data. > Is pango running on the client side, or the server side? client. > > A previous post mentioned "font caching". I was wandering if gtk can be > speeded up. For any particular application there may be ways to speed up rendering, but in general a lot of effort has already been put into making it at least reasonably fast. Have you written a program that's too slow? One thing to check is that your DISPLAY variable is set to :0.0 and not to the full hostname -- this can make a significant difference on slow systems. Otherwise it's hard for me to guess where you might have performance problems: it's necessary to measure. Liam Liam Quin, http://www.holoweb.net/~liam/ http://fromoldbooks.org/ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Fonts
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 used? When rendering using Xft or (for in GTK+-2.7, Cairo), characters are rendered client side and sent to the server as images. Then a RenderCompositeGlyphs request is made to draw those images to the screen. It looks conceptually like: Using glyphset 1432413: draw glyph #3 at 40,10 draw glyph #4 at 50,10 [...] Regards, Owen ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Fonts
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 ascii, is it 7-bit, 8-bit, or something longer? I don't understand this question -- a font is a collection of descriptions of outlines, including curves and/or code to draw the glyphs as well as other metadata. Are you asking if the instructions to draw an "a" (for example) are sent in ascii over the connection to the X server, or are you really trying to ask if pango can render non-latin text? If the latter, yes it can, see www.pango.org. if the former, no, the connection to the X server must be 8-bit clean as it's binary data. I was wandering if every time a gtk app prints some text, the instructions for each character to print are sent as 1 byte, or 4 bytes like utf-8 or whatever (eg, 0x61 for 'a') so that the text rendering thing on the 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. Does gtk have any control over what renders the fonts at the X server? Is XDrawString used? pango controls this. And yes if pango calls XDrawString() then XDrawString() will be used. Gdk may also draw text directly, without pango, I think. Is pango running on the client side, or the server side? A previous post mentioned "font caching". I was wandering if gtk can be speeded up. I hope this helps, but I suspect all I can do is help you to phrase your question more precisely, or to describe what you are trying to do so people can give a better answer. Liam ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Fonts
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, or something longer? I don't understand this question -- a font is a collection of descriptions of outlines, including curves and/or code to draw the glyphs as well as other metadata. Are you asking if the instructions to draw an "a" (for example) are sent in ascii over the connection to the X server, or are you really trying to ask if pango can render non-latin text? If the latter, yes it can, see www.pango.org. if the former, no, the connection to the X server must be 8-bit clean as it's binary data. > Does gtk have any control over what renders the fonts at the X server? > Is XDrawString used? pango controls this. And yes if pango calls XDrawString() then XDrawString() will be used. Gdk may also draw text directly, without pango, I think. I hope this helps, but I suspect all I can do is help you to phrase your question more precisely, or to describe what you are trying to do so people can give a better answer. Liam -- Liam R. E. Quin <[EMAIL PROTECTED]> http://www.holoweb.net/~liam/ Pictures from old books at http://fromoldbooks.org/ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Fonts
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-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GTK, Pango Fonts
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, freetype and Windows native fonts? 2. Does Pango on X use freetype only, or does it allow X bitmap fonts? 3. What fonts are available to Pango? When you bring up a Pango font selection dialog, do the fonts there simply reflect the system fonts? Or do they represent Pango font families which are used to select from the system fonts? Is there such a thing as a "Pango font"? In order to get more fonts for Pango on X, do I simply install freetype fonts? Similarly, to get more fonts for Pango on Windows, I just install Window fonts? How do I manage what list of fonts is presented in the font selection dialog, both on X and on Windows? 4. Are there any cross-platform projects which attempt to make their fonts look the same on both Windows and on X, and if so, what approach do they take? 5. How much of a performance penalty is there for rendering fonts with Pango versus drawing fonts with XDrawString? 6. Are there any optimizations of Pango which would allow significant speed-up? 7. Is it possible to use X bitmap fonts with GTK widgets? If any of you might be able to point me in the right direction, I would very much appreciate it. Thanks, Brian _ Brian Hanley, Software Developer FlexTrade Systems - Great Neck, NY 11021 [EMAIL PROTECTED] +1 (516) 627-8993 Ext. 238 _ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: gtk and fonts on OS X
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 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: gtk and fonts on OS X
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 running on 10.3. If you build pango statically with basic-fc... Thanks for the tip, and the reference to the dmg. I'll try some more. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: gtk and fonts on OS X
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. I'm still working on it, but there is quite a lot of functionality already in. Allin Cottrell 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. I've made what is intent a stand-alone disk image (my app plus all the required gtk 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? (The systems in question do have X11 installed.) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: gtk and fonts on OS X
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' for me. Though I've not tried building on 10.2 and running on 10.3. If you build pango statically with basic-fc: cd pango-xx ./configure --enable-static --with-included-modules=basic-fc then link with something like: LDADD = \ -L/sw/lib -L/usr/local/lib -L/usr/X11R6/lib \ /usr/local/lib/libgtk-x11-2.0.a \ /usr/local/lib/libgdk-x11-2.0.a \ -lXrandr -lXinerama -lXcursor \ /usr/local/lib/libatk-1.0.a \ /usr/local/lib/libgdk_pixbuf-2.0.a \ -lpng12 \ /usr/local/lib/libpangoxft-1.0.a \ -lXft -lXrender \ /usr/local/lib/libpangox-1.0.a \ /usr/local/lib/libvips.a \ -lMagick -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 \ -lxml2 -lpthread -lpng -ltiff -lz -ljpeg -ldrfftw -ldfftw -llcms \ -lm \ /usr/local/lib/libgthread-2.0.a \ /usr/local/lib/libpangoft2-1.0.a \ -lfontconfig -lfreetype \ /usr/local/lib/libpango-1.0.a \ /usr/local/lib/libgobject-2.0.a \ /usr/local/lib/libgmodule-2.0.a \ /usr/local/lib/libglib-2.0.a \ -lintl -liconv my .dmg is here if you want to try it: http://www.vips.ecs.soton.ac.uk/vips-7.10 It doesn't always automatically start X11 for you, for some reason I don't understand. Oh well. John ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gtk and fonts on OS X
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. I've made what is intent a stand-alone disk image (my app plus all the required gtk 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? (The systems in question do have X11 installed.) -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Re[2]: Fonts
On Mon, 24 Jan 2005 17:06:49 +0100, Iago Rubio <[EMAIL PROTECTED]> wrote: > Functions may be simpler, but what about font descriptions ? > > "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1" > > It's not too friendly, is it? > > "Helvetica Bold 12 pt" sounds much better. Yes, this is a good point. With Pango you can, for example, ask for "sans 12" and get the "best" sans-serif font at that point size. With the old gdkfont you had to have special magic for each platform and even each X server version if you wanted 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 win32 far simpler. The lastest gtks extend pango to do labels at angles and cool stuff like that. And you get high quality antialiasing for free. And since pango font rendering is (generally) client-side, you get the same fonts in your app as you see on the screen, making accurate printing possible. John ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Re[2]: Fonts
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 the possible problems if I'll use the GdkFont in my > >> programs instead of pango ? > > JC> It is much better, and quite an easy port (I found). > > Sorry for my insistence, but what are the advantages of pango font > system over the GdkFont ? > I ask about it, because, it may be possible that these additional > possibilities aren't needed for my purposes The bigger benefit is internationalization. If you'd like to see your app in arab or tamil, try Pango. "The use of Pango benefits GTK+ by adding support for internationalization. Short font names are another benefit. Pango allows the font abstractions to be moved away from the toolkit. With Pango, it is possible to write applications that work in many languages. Widget labels and text editing boxes automatically deal with the bidirectional character sets." Quoted from http://lwn.net/2001/features/OLS/pango.php3 I may add the markup language is really great, and the XFLDs were a pain. > while GdkFont functions > seems to me more understandable. Functions may be simpler, but what about font descriptions ? "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1" It's not too friendly, is it? "Helvetica Bold 12 pt" sounds much better. > BTW, does the 'deprecated' mean that these functions could be > excluded from one of next GTK versions ? Yes, it means those functions are there for backwards compatibility and "should not be used in newly written code". Regards. -- Iago Rubio ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Pango fonts
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 set - in pixels, to be possible to calculate the necessary drawing area dimensions ? Regards, Alexander http://kresin.belgorod.su ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re[2]: Fonts
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 instead of pango ? JC> It is much better, and quite an easy port (I found). Sorry for my insistence, but what are the advantages of pango font system over the GdkFont ? I ask about it, because, it may be possible that these additional possibilities aren't needed for my purposes, while GdkFont functions seems to me more understandable. BTW, does the 'deprecated' mean that these functions could be excluded from one of next GTK versions ? Regards, Alexander http://kresin.belgorod.su ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list