FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 06-02-2010, 09:49 AM
Michael Schwendt
 
Default culmus-fonts packaging bug / Non-responsive maintainer

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.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-02-2010, 11:12 AM
Mamoru Tasaka
 
Default culmus-fonts packaging bug / Non-responsive maintainer

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.

Regards,
Mamoru

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-02-2010, 11:33 AM
Michael Schwendt
 
Default culmus-fonts packaging bug / Non-responsive maintainer

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.

> So I guess this issue will affect other fonts related packages.

I share those concerns.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-02-2010, 11:34 AM
Mamoru Tasaka
 
Default culmus-fonts packaging bug / Non-responsive maintainer

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
 
Old 06-02-2010, 02:51 PM
Toshio Kuratomi
 
Default culmus-fonts packaging bug / Non-responsive maintainer

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
 
Old 06-02-2010, 03:07 PM
Mamoru Tasaka
 
Default culmus-fonts packaging bug / Non-responsive maintainer

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
 
Old 06-02-2010, 04:49 PM
Michael Schwendt
 
Default culmus-fonts packaging bug / Non-responsive maintainer

On Thu, 03 Jun 2010 00:07:24 +0900, Mamoru wrote:

> 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
 
Old 06-02-2010, 08:34 PM
Toshio Kuratomi
 
Default culmus-fonts packaging bug / Non-responsive maintainer

On Wed, Jun 02, 2010 at 06:49:53PM +0200, Michael Schwendt wrote:
> On Thu, 03 Jun 2010 00:07:24 +0900, Mamoru wrote:
>
> > 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
> > >>>
>
> Most simple test-case:
>
> 1) use Fedora 13
> 2) yum -y install yum-utils
> 3) repoclosure -n
>
Thanks! patch for yum attached to the bug.

-Toshio
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-06-2010, 05:51 PM
Nicolas Mailhot
 
Default culmus-fonts packaging bug / Non-responsive maintainer

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
 

Thread Tools




All times are GMT. The time now is 11:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org