Re: Problem enabling new language on gdm language selection list
by Rahul Bhalerao
On Tue, Aug 12, 2008 at 7:37 PM, Matthias Clasen <mclasen(a)redhat.com> wrote:
> What gdm does it is only shows a language in the list if a) we have
> translations for it and b) we have fonts for it. For b), we basically
> ask fontconfig "do you have fonts for this language ?". It seems that
> fontconfig says "no" if it doesn't know the language. It would be better
> if fontconfig could say "I don't know" in that case...
>
Apart from these three conditions, even if fontconfig knows the
language, is it necessary that fcfreetype.c has MAC language code
defined for that language, in order to list it in gdm?
When I tried adding .orth file, the "fc-list fontname lang" listed the
appropriate language, but still it did not appear in gdm list until,
the definitions were made in fcfreetype.c and ttnameid.h.
Rahul.
15 years, 8 months
Problem enabling new language on gdm language selection list
by Rahul Bhalerao
For adding a language on gdm's login screen, apart from having a
locale file, few translations and required fonts, it is required that
language is recognized by fontconfig.
To make a fontconfig recognize the language, a related lang.orth file
is required. With my experiment on this, I think there is also need to
add an entry to fcfreetype.c of fontconfig and related language code
entry in ttnameid.h of freetype2. After making all these changes the
language is listed in the gdm's list. But this has a problem, as the
entries of language code in ttnameid.h are MS and MAC codes for these
languages and there are languages that do not have these codes but are
included in iso639-2 language codes.
Thus my question is, how much important is it to have an entry for the
language in the file fcfreetype.c of fontconfig and related entry in
the header file ttnameid.h of freetype2? And what is to be done for
the language that does not have MS or MAC code? Is it possible to use
our own codes?
Can anyone please help resolving this?
--
Rahul.
http://b.rahul.pm.googlepages.com/home
- http://rahulpmb.blogspot.com
- http://samadiyami.blogspot.com
- http://mazikavita.blogspot.com
15 years, 8 months
Fwd: Maithili language support gdm problem in Fedora
by Rahul Bhalerao
forwarding on fedora-i18n-list as well.
---------- Forwarded message ----------
From: Rahul Bhalerao <b.rahul.pm(a)gmail.com>
Date: Wed, Aug 6, 2008 at 3:42 PM
Subject: Re: Maithili language support gdm problem in Fedora
To: "Parag N(पराग़)" <panemade(a)gmail.com>
On Wed, Aug 6, 2008 at 1:03 PM, Parag N(पराग़) <panemade(a)gmail.com> wrote:
> Hi,
> We have already missed F10 Alpha release and I am still struggling
> to get Maithili language support included in rawhide. The problem I see
> is that we need to modify fontconfig package to include Maithili
> language. I submitted bug[1] to add Maithili in bugzilla against
> fontconfig 3 months back. But package maintainer of fontconfig closed it
> instantly and made it upstream[2].
> I submitted required input in upstream bug. But, still no response
> from upstream. If package maintainer is not willing to do code level
> changes and also upstream then I will see no progress to add Maithili
> language support in Fedora. So even if we will get translations and all
> other changes done in Fedora by F10 release to support Maithili, users
> will not able to see Maithili language selection in gdm.
> Can anyone provide inputs on this issue? Otherwise I will move ahead
> and will commit required changes in rawhide and build new package as I
> can see ACLs are open on fontconfig.
>
How much important is it to have an entry for the language in the file
fcfreetype.c of fontconfig and related entry in the header file
ttnameid.h of freetype2?
I observed that to have the language listed in gdm selection list,
both of these entries are necessary. But that raises one more question
that is, for languages that do not have MS or MAC codes, what has to
be done as all the language and their codes listed in these files are
defined according to the MS and MAC codes? There are many languages
including Maithili, in iso639-2 that do not have such codes.
_
Rahul.
--
Rahul.
http://b.rahul.pm.googlepages.com/home
- http://rahulpmb.blogspot.com
- http://samadiyami.blogspot.com
- http://mazikavita.blogspot.com
15 years, 8 months