aflinta: SPECS gdkxft.spec

Tomasz Kłoczko kloczek w rudy.mif.pg.gda.pl
Pon, 3 Wrz 2001, 23:27:53 CEST


On Mon, 3 Sep 2001, PLD CVS wrote:

> Module name:	SPECS
> Changes by:	aflinta	01/09/03 22:46:27
> 
> Added files:
> 	.              : gdkxft.spec 
> 
> Log message:
> - initial release

Nie wiem czy to dobry pomysł. IMHO zabawa z LD_PRELOAD jest tak średnio 
wygodna. Jezeli juz to tylko przejściowo żeby sprawdzić jak to działa.

IMHO należałoby raczje zrobić poporstu patcha z tego co podmienia gdkxft
do gtk+ i dodać ewentualnie bcond w gtk+ na antyaliasing. Rozwiązanie z
patchem dobrze jakby miało na poziomie gtkrc możliwość wyłącznia aliasingu
(możnaby też dorobić włącz/wyłącz aliasing w gnome c-c na poziomie
obsługi tematów).

Z innych tego typu poprawek mam jeszcze skatalogowane:

------
Date: Mon, 2 Jul 2001 16:07:46 +0300
From: Aleksandr Koltsoff <aleksandr.koltsoff w eke.fi>
To: gtk-devel-list w gnome.org
Subject: Gtk 1.2.10 & Xft

Hello,

Some days ago I tried to patch 1.2.10 with the Xft-patches for gtk
(http://216.254.0.2/~bos/gtk-20010311.patch). It failed (suprise :-).
Anyway, I backtracked few gtk versions and the last version to which this
patch works is 1.2.9. Then I did some manual comparison and it seems that
major failures were due to change of handling multibyte-strings within
gtk. The files that got affected are gtk/gdk/gdkdraw.c & gdkfont.c. It
seems that the patches are doing the counting of strlen using an internal
static function (since 1.2.9 doesn't do that much of counting in those
parts of code) so I see the rationale.

My question basically is:

a) how heavy modifications do I need to do into 1.2.10 to get the patch
working (I know C, I do not know neither do the time at the moment to
learn the innards of GDK).

b) given that a is not feasible for some reasons (which?), would using
version 1.2.9 be a serious crime? This is the last version against which
the patch goes smoothly against.

I'm sure there are hundreds of people trying to do the same thing as I am,
which is getting Mozilla to use TrueType fonts with antialiasing (and with
truetype-hinting instructions as well preferrably). If there are any
better (working) solutions to this problem, I'd appreciate any
hints/pointers.

I get the impression that 1.3 with pango should be the right way to go,
but then again I do not have the required time at the moment to modify
innards of Mozilla to use different Gtk-version. This is why this minimal
approach was selected.

Thank you and BTW thanks for GTK :-).

Aleksandr Koltsoff
Design Manager
Engineering Office Bertel Ekegren Ltd

----

list na gtk+-decel przeszedł bez odpowiedzi.

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek w rudy.mif.pg.gda.pl*



Więcej informacji o liście dyskusyjnej pld-devel-pl