A ticket opened on March 5th, but Pravin Satpute just doesn't
respond.
Does anyone know the languages involved here (lang=he, lang=yi)
and can fix this fonts package, please? Thanks in advance.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Michael Schwendt wrote, at 06/02/2010 06:49 PM +9:00:
> http://bugzilla.redhat.com/570819
>
> A ticket opened on March 5th, but Pravin Satpute just doesn't
> respond.
>
> Does anyone know the languages involved here (lang=he, lang=yi)
> and can fix this fonts package, please? Thanks in advance.
I will vote that this must be fixed in yum side (or fontconfig or rpm).
This provides is automatically generated by /usr/lib/rpm/fontconfig.prov
and this reads:
--------------------------------------------------------
13 fcquery=/usr/bin/fc-query
14
15 [ -x $fcquery ] || exit 0
16
17 # filter out anything outside main fontconfig path
18 grep /usr/share/fonts/ |
19 while read fn; do
20 $fcquery --format '%{=pkgkit}' "${fn}" 2> /dev/null
21 done
---------------------------------------------------------
So:
$ fc-query --format '%{=pkgkit}' MiriamCLM-Bold.ttf
font(miriamclm)
font(מרים)
font(:lang=he)
font(:lang=yi)
> I will vote that this must be fixed in yum side (or fontconfig or rpm).
It could be that a policy is needed. Similar to
https://fedoraproject.org/wiki/Packaging:Guidelines#Non-ASCII_Filenames
but for RPM Tags (Provides, Requires, Obsoletes, …).
As long as the encoding of those tags cannot be specified, it must be
assumed that it is UTF-8.
Mamoru Tasaka wrote, at 06/02/2010 08:12 PM +9:00:
> Michael Schwendt wrote, at 06/02/2010 06:49 PM +9:00:
>> http://bugzilla.redhat.com/570819
>>
>> A ticket opened on March 5th, but Pravin Satpute just doesn't
>> respond.
>>
>> Does anyone know the languages involved here (lang=he, lang=yi)
>> and can fix this fonts package, please? Thanks in advance.
>
> I will vote that this must be fixed in yum side (or fontconfig or rpm).
>
> This provides is automatically generated by /usr/lib/rpm/fontconfig.prov
> and this reads:
> --------------------------------------------------------
> 13 fcquery=/usr/bin/fc-query
> 14
> 15 [ -x $fcquery ] || exit 0
> 16
> 17 # filter out anything outside main fontconfig path
> 18 grep /usr/share/fonts/ |
> 19 while read fn; do
> 20 $fcquery --format '%{=pkgkit}' "${fn}" 2> /dev/null
> 21 done
> ---------------------------------------------------------
>
> So:
> $ fc-query --format '%{=pkgkit}' MiriamCLM-Bold.ttf
> font(miriamclm)
> font(מרים)
> font(:lang=he)
> font(:lang=yi)
>
> Also:
> [tasaka1@localhost ~]$ rpm -q vlgothic-p-fonts
> vlgothic-p-fonts-20100416-3.fc14.noarch
> [tasaka1@localhost ~]$ rpm -q --provides vlgothic-p-fonts | grep "ゴシック"
> font(vlpゴシック)
>
> So I guess this issue will affect other fonts related packages.
>
By the way "מרים" ("xd7x9exd7xa8xd7x99xd7x9d") itself seems a valid UTF-8 string.
Mamoru
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
On Wed, Jun 02, 2010 at 08:12:08PM +0900, Mamoru Tasaka wrote:
> Michael Schwendt wrote, at 06/02/2010 06:49 PM +9:00:
> > http://bugzilla.redhat.com/570819
> >
> > A ticket opened on March 5th, but Pravin Satpute just doesn't
> > respond.
> >
> > Does anyone know the languages involved here (lang=he, lang=yi)
> > and can fix this fonts package, please? Thanks in advance.
>
> I will vote that this must be fixed in yum side (or fontconfig or rpm).
>
What's a commandline I can use to reproduce the warning? I can look at
converting all of the data into bytes if I know how to test.
-Toshio
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Toshio Kuratomi wrote, at 06/02/2010 11:51 PM +9:00:
> On Wed, Jun 02, 2010 at 08:12:08PM +0900, Mamoru Tasaka wrote:
>> Michael Schwendt wrote, at 06/02/2010 06:49 PM +9:00:
>>> http://bugzilla.redhat.com/570819
>>>
>>> A ticket opened on March 5th, but Pravin Satpute just doesn't
>>> respond.
>>>
>>> Does anyone know the languages involved here (lang=he, lang=yi)
>>> and can fix this fonts package, please? Thanks in advance.
>>
>> I will vote that this must be fixed in yum side (or fontconfig or rpm).
>>
> What's a commandline I can use to reproduce the warning? I can look at
> converting all of the data into bytes if I know how to test.
Well, I just looked at the bug and I don't know how to reproduce this
bug exactly.
Mamoru
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
> Toshio Kuratomi wrote, at 06/02/2010 11:51 PM +9:00:
> > On Wed, Jun 02, 2010 at 08:12:08PM +0900, Mamoru Tasaka wrote:
> >> Michael Schwendt wrote, at 06/02/2010 06:49 PM +9:00:
> >>> http://bugzilla.redhat.com/570819
> >>>
> >>> A ticket opened on March 5th, but Pravin Satpute just doesn't
> >>> respond.
> >>>
> >>> Does anyone know the languages involved here (lang=he, lang=yi)
> >>> and can fix this fonts package, please? Thanks in advance.
> >>
> >> I will vote that this must be fixed in yum side (or fontconfig or rpm).
> >>
> > What's a commandline I can use to reproduce the warning? I can look at
> > converting all of the data into bytes if I know how to test.
>
> Well, I just looked at the bug and I don't know how to reproduce this
> bug exactly.
Most simple test-case:
1) use Fedora 13
2) yum -y install yum-utils
3) repoclosure -n
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Le mercredi 02 juin 2010 * 13:33 +0200, Michael Schwendt a écrit :
> On Wed, 02 Jun 2010 20:12:08 +0900, Mamoru wrote:
>
> > > http://bugzilla.redhat.com/570819
>
> > I will vote that this must be fixed in yum side (or fontconfig or rpm).
>
> It could be that a policy is needed. Similar to
> https://fedoraproject.org/wiki/Packaging:Guidelines#Non-ASCII_Filenames
> but for RPM Tags (Provides, Requires, Obsoletes, …).
>
> As long as the encoding of those tags cannot be specified, it must be
> assumed that it is UTF-8.
>
> > Also:
> > [tasaka1@localhost ~]$ rpm -q vlgothic-p-fonts
> > vlgothic-p-fonts-20100416-3.fc14.noarch
> > [tasaka1@localhost ~]$ rpm -q --provides vlgothic-p-fonts | grep "ゴシック"
> > font(vlpゴシック)
>
> It doesn't cause the repo metadata parser to complain, so probably
> it's UTF-8.
Those tags are info extracted by fontconfig from font files, and
fontconfig is UTF-8-clean I think. Since fonts are created all over the
world some can (and do) export local names, that can not be restricted
to basic latin (and sometimes there is not basic latin name at all)
If you find a case where fontconfig output is not UTF-8 please open a
fontconfig bug. This output is not used only in rpm, and needs to be
safely encoded for apps to use it.
--
Nicolas Mailhot
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel