[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] openbox pangofication (was: LIGHT arabic patch)
From:       mangosoft () comhem ! se (Mikael Magnusson)
Date:       2004-10-24 11:30:49
Message-ID: Pine.LNX.4.61.0410241323440.9214 () localhost
[Download RAW message or body]

On Sun, 24 Oct 2004, Mohammed Sameer wrote:

> On Sat, Oct 23, 2004 at 08:04:56PM +0200, Mikael Magnusson wrote:
>> On Sat, 23 Oct 2004, Mohammed Sameer wrote:
>>
>> Okay, tried it out a bit. It draws all strings completely as far as I can
>> see, but it messes up shadows a bit (not important though). It seems to
>> draw at least japanese fonts right mixed with normal text too, but it
>> currently ignores the font set in the theme? I guess we want to somehow
>> give a list of fonts to try at some point since one font only has one
>> language usually, but that comes later :).
>>
> sorry, I didn't notice the shadow thing, I've fixed this in the attached patch.
> And yes, It was ignoring the fonts, Now it's not.

Great work, it seems to work pretty good for me now. I have yet to look 
closer at the code though.

>> Keep up the good work, I'm very grateful, and fiddle with the structs all
>> you want, I have no idea how they work anyway ;). As long as it's
>> backwards config compatible I think we shouldn't have any problems since
>> nothing outside Openbox uses that...
>>
> Thanks,
> I'll try commenting the code parts I understand, I can say that I think 
> I understand now the fonts handling, Maybe it's my imagination. I wasn't 
> able to get rid from xft as I'm still having problems getting pango to 
> play with xft. I'm just posting the patch here maybe someone can give me 
> a hand as I'm not yet familiar with the pango API. Maybe what I'm doing 
> is not the Best thing or the right way ;-)

I've never used pango, but I will definitely look at it when I can.

I tried looking at some web pages with japanese and arabic titles and I 
can say it works for me. The arabic doesn't seem to be exactly the same as 
in the tab title in Galeon, but it's probably just a different font.

--
Mikael Magnusson


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic