[Bug 492510] Regression: wqy-bitmap-fonts preferred font over truetype fonts

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=492510





--- Comment #44 from Akira TAGOH   2009-05-01 04:44:21 EDT ---
Sorry, there was wrong caches here. and I can see the different result with the
test cases at Comment #24 now:

1. LANG=ja_JP.UTF-8 pango-view --text "日本語 test" --font "Sans 100"

   --> [GOOD] rendering is ok with Japanese font

2. LANG=ja_JP.UTF-8 pango-view --text "日本語 test" --font "Sans 12"

   --> [GOOD] rendering is ok with Japanese font

3. LANG=zh_CN.UTF-8 pango-view --text "日本語 test" --font "Sans 100"

   --> [BAD] WenQuanYi Bitmap Song is used to render 日本語

4. LANG=zh_CN.UTF-8 pango-view --text "日本語 test" --font "Sans 12"

   --> [GOOD] WenQuanYi Bitmap Song is used to render 日本語

5. LANG=zh_CN.UTF-8 pango-view --markup --text '日本語
test' --font "Sans 100"

   --> [GOOD] rendering is ok with Japanese font

6. LANG=zh_CN.UTF-8 pango-view --markup --text '日本語
test' --font "Sans 12"

   --> [GOOD] rendering is ok with Japanese font

7. LANG=en_US.UTF-8 pango-view --text "日本語 test" --font "Sans 100"

   --> [BAD] WenQuanYi Bitmap Song is used to render 日本語

8. (bonus)PANGO_LANGUAGE=zh LANG=en_US.UTF-8 pango-view --text "日本語 test"
--font "Sans 12"

   --> [GOOD] WenQuanYi Bitmap Song is used to render 日本語

9. (bonus)PANGO_LANGUAGE=ja LANG=en_US.UTF-8 pango-view --text "日本語 test"
--font "Sans 12"

   --> [GOOD] rendering is ok with Japanese font

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 492510] Regression: wqy-bitmap-fonts preferred font over truetype fonts

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=492510





--- Comment #45 from Jens Petersen   2009-05-01 04:48:14 
EDT ---
I just tested also with wqy-bitmap-fonts-0.9.9-9.fc11 and 0.9.9-10.fc11 and got
exactly the result as comment 44 both testcases 3 and 7 in comment 24 still
fail.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 492510] Regression: wqy-bitmap-fonts preferred font over truetype fonts

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=492510


Jens Petersen  changed:

   What|Removed |Added

 Attachment #339961|application/octet-stream|text/plain
  mime type||




-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 492510] Regression: wqy-bitmap-fonts preferred font over truetype fonts

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=492510





--- Comment #47 from Jens Petersen   2009-05-01 05:19:08 
EDT ---
(In reply to comment #24)
> Created an attachment (id=339961)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=339961) [details]
> proposed fontconfig config
> 
> I've polished a lot from my previous proposal. it won't depends on other 
> fonts.
> just works for the desired situation. this should be valid for current our
> policy as well.

Looks good, clean and simple to me too.

Qianqian, could you test it and tell us what problems it causes for you? :)

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 492510] Regression: wqy-bitmap-fonts preferred font over truetype fonts

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=492510





--- Comment #46 from Jens Petersen   2009-05-01 05:03:33 
EDT ---
(In reply to comment #38)
> Therefore, either you want to introduce a Japanese specific font config file 
> to
> set the preferred font orders for lang=ja, or you simply define VL Gothic as
> the default Sans for ja in the vlgothic-fonts config files, just like the file
> you proposed for this bug (you do need to replace zh to ja and reset the font
> names).

Sounds like different things are being talked about:
vlgothic-fonts and vlgothic-p-fonts already provide

/etc/fonts/conf.d/66-vlgothic-gothic.conf
/usr/share/fontconfig/conf.avail/66-vlgothic-pgothic.conf

which prepend it as the default for Japanese AFAICT.

Qianqian, what more is it that you wish vlgothic's conf to do?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 492510] Regression: wqy-bitmap-fonts preferred font over truetype fonts

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=492510





--- Comment #48 from Akira TAGOH   2009-05-01 05:23:19 EDT ---
Aside from adding any rules for the fonts not owned, a rule to fall back the
font to AR PL UMing CN for the request out of the supported pixel in WenQuanYi
Bitmap Song is broken. basically any expressions in match tag is a AND
operation. thus,



WenQuanYi Bitmap Song


serif


16


AR PL UMing CN



would means something like:

if (pattern.family.compare("WenQuanYi Bitmap Song") &&
pattern.family.compare("serif") && pattern.pixelsize > 16.0) {
  pattern.family.prepend("AR PL UMing CN");
}

which never happens.
that's why case 3 and 7 didn't work FWIW.


I don't understand why you prefer this complex rule rather than my simplest
proposal though.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 20854] OTF is a font format

2009-05-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=20854


Brian Burger  changed:

   What|Removed |Added

 CC||blurdes...@gmail.com
 Status|RESOLVED|REOPENED
 Resolution|NOTOURBUG   |




--- Comment #4 from Brian Burger   2009-05-01 03:19:32 
PST ---
https://bugs.launchpad.net/nautilus/+bug/338682

Over on Launchpad, Seb Bacher is saying this isn't a Nautilus/file-handling
bug.

Over here, it's not a mime-type bug.

It's got to be one or the other. So which is it?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 20854] OTF is a font format

2009-05-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=20854





--- Comment #5 from Brian Burger   2009-05-01 03:22:15 
PST ---
Copypasta from one of my comments on the Launchpad bug:

This is not a problem with the current Gnome Font Viewer, as is easily proven:
1. Find an OTF font file on your system.
2. If you just double-click on it, OpenOffice attempts to open it, and fails.
2. Right-click the OTF, go Open With -> Open With Other Application -> Font
Viewer
3. Font Viewer opens and displays the OTF preview just as it should, exactly
like a TTF is shown.

So I'm not sure how this bug can be Invalid against all three of the targets
currently listed. It's should be valid against at least one, if not all.

(The above was all done on Ubuntu 9.04)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 20854] OTF is a font format

2009-05-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=20854


Bastien Nocera  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||NOTOURBUG




--- Comment #6 from Bastien Nocera   2009-05-01 05:00:31 PST 
---
It is a bug in the file managers. File a bug against them.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 70132] Support @font-face

2009-05-01 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=70132





--- Comment #185 from Greg K Nicholson [:gkn]   2009-05-01 
07:40:28 PDT ---
Using the 3.5b5pre build from 2009-05-01 on Ubuntu 9.04:

In these demos: http://www.princexml.com/howcome/2008/webfonts/ , the text
renders as unknown-character glyphs (i.e. the character code inside a box),
after showing briefly in a local font while the page loads.

I assume those fonts are unusable. However, Firefox doesn't fall back to a font
with a renderable character. Is this the intended behaviour?

-- 
Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 70132] Support @font-face

2009-05-01 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=70132


philippe  changed:

   What|Removed |Added

 CC||p...@l-c-n.com




--- Comment #186 from philippe   2009-05-01 07:45:51 PDT ---
(In reply to comment #185)
> Using the 3.5b5pre build from 2009-05-01 on Ubuntu 9.04:
> 
> In these demos: http://www.princexml.com/howcome/2008/webfonts/ , the text
> renders as unknown-character glyphs (i.e. the character code inside a box),
> after showing briefly in a local font while the page loads.
> 
> I assume those fonts are unusable. However, Firefox doesn't fall back to a 
> font
> with a renderable character. Is this the intended behaviour?
That is bug 489445, that should land on gecko 1.9.1 (Fx 3.5b) soon.

-- 
Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 490830] Nafees Web Naksha should drop Preferred Family name

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=490830





--- Comment #6 from Mathieu Bridon   2009-05-01 
12:15:59 EDT ---
(In reply to comment #5)
> This isn't a font bug I think. If the preferred family shows "Nafees" then
> upstream wants to see the font being called "Nafees" and not "Nafees Web
> Naksha". The latter is just the name that has to be displayed when the system
> can't handle preferred families.
> 
> The problem should be fixed in the font selectors instead.  

So, what should I do ?

Revert to the « preferred family » being « Nafees » and reassign the bug to
each app having a font selector ?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 490830] Nafees Web Naksha should drop Preferred Family name

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=490830





--- Comment #7 from Ben Laenen   2009-05-01 12:22:55 EDT ---
(In reply to comment #6)
> So, what should I do ?
> 
> Revert to the « preferred family » being « Nafees » and reassign the bug to
> each app having a font selector ?  

Yes :-)

We've been bugging them for years now to fix it properly once. If more people
start the doing that, it may be be fixed one day...

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 490830] Nafees Web Naksha should drop Preferred Family name

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=490830





--- Comment #8 from Mathieu Bridon   2009-05-01 
12:34:51 EDT ---
So, how exactly should font selectors behave ?

If they don't look at the « Preferred family » field, what field should they
look at ?

(I have no idea how those things work, I'm just trying to understand better the
issue before I send it to them :)

On another note, isn't there a shared component (GTK ?) where this could be
fixed instead of fixing it in each and every app ?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 490830] Nafees Web Naksha should drop Preferred Family name

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=490830





--- Comment #9 from Ben Laenen   2009-05-01 13:14:00 EDT ---
I've written down what's going on with (preferred) (sub)families here:
http://bugs.freedesktop.org/show_bug.cgi?id=12735

Now, that's for Condensed faces in DejaVu (which are more or less supported by
the GTK font selector, but not in Qt). If you move to other kinds of styles
they're not supported in any of them (if you get a typeface with 64 styles, you
sometimes only see maybe a fourth of them).

Font selectors should behave like this:
* either read preferred family and preferred subfamily (and make sure your font
selector supports different styles besides bold and italic)
* or read the family and subfamily (if you don't fully support different
styles)

But fontconfig will only give the preferred names to the font selectors, and
that's why it's going wrong, if the font selector doesn't support it, it has no
way to stick with the family and subfamily of a font and discard the preferred
ones.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 490830] Nafees Web Naksha should drop Preferred Family name

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=490830





--- Comment #10 from Mathieu Bridon   2009-05-01 
14:18:32 EDT ---
Okay, so in your example of DejaVu, we would have:
- font family: DejaVu Sans Condensed
- font style/subfamily: Bold
- preferred font family: DejaVu Sans
- preferred font style/subfamily: Condensed Bold

A well behaved font selector would then display the font as « DejaVu Sans » and
in the style selector, it would propose the « Condensed Bold » style (along the
« Bold », « Italic »,... styles).

Am I right ?

Now, in my case:
- font family: Nafees Web Naskh
- font style/subfamily: Regular (only one style is provided)
- preferred font family: Nafees
- preferred font style/subfamily: Regular

Those are the values fontforge shows me.

Which means that a well behaved font selector would display the font as «
Nafees » and in the style selector, it would propose the « Regular » style.

That's not really helpful as other Nafees fonts (for example the Nafees
Nastaleeq font) have the same preferred family and preferred style.

So, even a well behaved font selector would have troubles with them :-/

Did I get all this right ?

(BTW, thanks a lot for your time and explanations :)

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 490830] Nafees Web Naksha should drop Preferred Family name

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=490830





--- Comment #11 from Ben Laenen   2009-05-01 14:46:10 EDT ---
OK, I didn't really investigate the Nafees Web Naskh font, but if the preferred
subfamily is just "Regular", then that's a mistake there. Obviously the
preferred subfamily should be different for all Nafees fonts with preferred
family "Nafees". So it looks like the names need to be fixed in the font anyway
(but the correct method is changing the preferred subfamily, not by completely
dropping the preferred names).

Although I can understand that the latter looks more correct since due to those
broken font selectors (or rather, broken synergy between fontconfig and font
selectors) you may not be able to select all styles if you rename preferred
subfamilies...

My personal view (which we've normally upheld in DejaVu) is that we don't fix
things in the fonts which should be fixed elsewhere (it could open the door for
other problems later when things do get fixed).

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 490830] Nafees Web Naksha should drop Preferred Family name

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=490830





--- Comment #12 from Mathieu Bridon   2009-05-01 
15:01:04 EDT ---
Ok, so I have 2 choices here:

1. change « preferred family » to « Nafees Web Naskh » and let « preferred
style » to « Regular » (that's what is in the current Rawhide and
updates-testing package)

2. let « preferred family » to « Nafees » and change « preferred style » to «
Web Naskh Regular »

Both would be good (admitting that we don't have issues in the font selector).

Which one to choose ? I guess only upstream can answer me on this one, and they
are not really responsive :-/

I'll let it the way it is currently, if I can get an anwser from upstream, I'll
do what they prefer.

I'll move the package from updates-testing to updates for F10, but I'll keep
this bug open for future reference and for reminding me that this is not closed
until I get an answer from upstream.

Thanks a lot again for all the explanations Ben.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 490830] Nafees Web Naksha should drop Preferred Family name

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=490830





--- Comment #13 from Ben Laenen   2009-05-01 15:19:41 EDT ---
Well, in the end you're the package manager, so you're responsible for making
it all work together. So I can understand that you prefer just removing the
preferred names if you can maintain it and can keep following this up, whatever
upstream does.

But upstream (Nafees, fontconfig and font selectors) should fix this anyway.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 497984] [qt] Fonts are not showing, while only square in kde, gnome working fine...

2009-05-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=497984





--- Comment #4 from A S Alam   2009-05-01 22:09:17 EDT ---
1) while using only qt application (qtconfig-qt4) for check font, it also have
problem.
1) Interface (GUI) can be used in english, but input is more important, which
is also square box only

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list