Re: [gtk-list] Re: Croatian translations



> X resources are the only solution I can think of for this kind of problem.
> Or some kind of mumbo-jumbo on startup which emulates things one normaly
> gets with X resources.
> 
> > File should look like that:
> > 
> > style "default" {
> >        fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-*,\
> >                   -biznet-aplos-medium-r-normal--12-*-*-*-*-*-iso8859-2"
> 
> How are these two fonts used exactly? And what happens if I specify a
> font which is not present on a particular X terminal?

Well, you should try (if you have -biznet-aplos-*). I know that when 
I have pair of  iso8859-* and koi8-r(Russian Cyrillic) specified in
fontset and koi8-r font is mising, then 8bit is dropped and by magic of
koi8 I still can read Russian text in Latin translitiration.

O! one thing. -adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-2 is 
an alias of -biznet-aplos-medium-r-normal--12-*-*-*-*-*-iso8859-2 on my 
RedHat Linux, so even 

style "default" {
        fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-*"
}

would work just as well. If you want to have some iso8859-2 font being
picked up if one you specified is missing, then put ,* at the end, like:

style "default" {
        fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-*,
	-biznet-aplos-medium-r-normal--12-*-*-*-*-*-iso8859-2,*"
}

you might get an ugly font, but if there is any iso8859-2 font, it will
be picked up as default font.


  Sergey



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]