Re: Tiny font workaound... maybe?
Al Hooton <[email protected]> Tue, 22 Feb 2005 13:07:33 -0800
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <[email protected]> |
Marco, Very cool! The power of open source -- when one person can't figure something out, somebody smarter comes along and takes a different path. I love it. At this point, I've actually avoided the need on my current project, but I'm sure it'll come up for me again, as well as plenty of other people. Keep us all in the loop, Marco -- thanks for working on this! -Al On Tue, 2005-02-22 at 20:42 +0000, [email protected] wrote: > Al, > > I think I might be onto something here. I didn't mean to completely rework the font interface, I think moving forward and using Pango is a great idea, unfortunately the tiny font bug isn't in my domain. What I have done so far is replaced a (surprisingly) few functions and definitions that allowed me to implement the string display routines from gtkextra1 based on the GdkFont primitives. I am using preprocessor code to tell gtkextra to build using the non-pango routines. Although it is not clean right now I think it can be reorganized in a much more professional way once I've tested all the examples. I'm also trying to test it on other computers to confirm that it's not just my imagination :). > > I must give a lot of credit to the great design built into gtkextra that made it (so far) quite simple to implement the older routines. So while code using this mod will not be 100% gtk2 compliant it will get by without the gnome-settings being run. I'll update you as soon as I have any more progress (good or bad). > > -Marco > > > > Marco, > > > > I started looking into this, and abandoned it after about a day of > > work. The changes are just too significant and widespread. You've got > > to make some fundamental changes all across gtkextra2 if you want to > > backport it gtk/gdk 1.x. Another possible way is to change gdk 2.x to > > not use pango, but this would also require widespread non-trivial > > changes. The conclusion I quickly came to is that, starting with the > > 2.0 versions of these packages, pango dependency is essentially a given. > > > > A different approach would be for you to use gtkextra1, which you can > > still get out CVS, if it works for you. Of course, that means you're > > definitely back on gtk 1.x. > > > > After digging in for a while, I came to the conclusion that running > > gnome-settings-daemon to sync things up between KDE and gnome was a lot > > easier, even though it's a not-pretty hack. > > > > -Al > > > > > > On Tue, 2005-02-22 at 16:15 +0000, [email protected] wrote: > > > I know this goes against the current development direction of gtkextra2 but in > > the interest of bypassing the gnome bug that causes tiny fonts I was thinking of > > maybe returning to some basics. Has anyone tried to draw a string onto a canvas > > using the gdk (older) primitives? for example gdk_draw_string()? If anyone has > > some ideas on implementing this until gnome fixes their problem it will be > > greately appreciated. I unfortunately can't depend on gnome for the project I'm > > developing and it's unfortunate that Pango is affected in such a way. > > > > > > Thanks! > > > > > > -- > > > Marco > > > > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real users. > > > Discover which products truly live up to the hype. Start reading now. > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > _______________________________________________ > > > Scigraphica-gtkextra mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra > > > > > > > > -- > > > > > > Al Hooton > > al-at-hootons-dot-org > > > > ======== > > Maintainer of the linux-based open-source project Parapin. > > http://www.sf.net/projects/parapin/ > > ======== > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Scigraphica-gtkextra mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra > > !DSPAM:421b995642621922710899! -- Al Hooton al-at-hootons-dot-org ======== Maintainer of the linux-based open-source project Parapin. http://www.sf.net/projects/parapin/ ======== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click