After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309745 - font viewer fails to preview fonts
font viewer fails to preview fonts
Status: RESOLVED OBSOLETE
Product: gnome-font-viewer
Classification: Core
Component: general
git master
Other Linux
: Normal major
: ---
Assigned To: gnome-font-viewer-maint
gnome-font-viewer-maint
Depends on:
Blocks:
 
 
Reported: 2005-07-07 19:09 UTC by Teppo Turtiainen
Modified: 2014-11-22 17:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of problem (125.35 KB, image/png)
2005-07-07 19:09 UTC, Teppo Turtiainen
Details

Description Teppo Turtiainen 2005-07-07 19:09:07 UTC
Distribution/Version: Ubuntu Hoary

GNOME Font Viewer fails to preview many fonts. For some nothing is shown and for
others a square or other symbol is shown instead of the preview. This seems to
occur mostly with symbol fonts and fonts for non-latin scripts. Nautilus is able
to show a  thumbnail for the fonts in question. Please see attached screenshot.
Comment 1 Teppo Turtiainen 2005-07-07 19:09:37 UTC
Created attachment 48793 [details]
screenshot of problem
Comment 2 Sebastien Bacher 2005-07-07 20:00:51 UTC
same issue here with GNOME 2.11.4
Comment 3 James Henstridge 2006-02-27 04:55:52 UTC
The issue here is picking an appropriate sample phrase.  Currently this comes from the translation, but perhaps it shouldn't.  For example, if I view a CJK font in an english locale, it would be useful to show CJK glyphs rather than the ugly latin glyphs found in such fonts.

To handle this correctly, we'd probably need to base it on the language coverage of the font.  I am not sure of the best way to do this.
Comment 4 Teppo Turtiainen 2006-02-27 05:54:49 UTC
If the sample phrase is what is causing the problem, do we really need to have it or is it just customary? Couldn't we just show the glyphs in alphabetical order?

Also, I think the whole point with "The quick brown fox jumps over the lazy dog." is that is has almost all the letters in the English alphabet. Finding a similar phrase in other languages would be an enormous task for translators and I'm not sure if anyone has actually done it.
Comment 5 James Henstridge 2006-02-27 09:54:34 UTC
The first two rows show the latin alphabet glyphs, so the user can already see those glyphs.

It is useful to display some common text so that the user can see what the font will look like after kerning, etc.  While "The quick brown fox ..." contains all the english alphabet letters, this isn't necessary for a sample phrase.

As for methods of picking a sample phrase, it turns out that TTF fonts can include a sample phrase (TT_NAME_ID_SAMPLE_TEXT).  Depending on how common this tag is, it might be a sensible way of picking the phrase.
Comment 6 Teppo Turtiainen 2006-02-27 18:21:23 UTC
(In reply to comment #5)
> The first two rows show the latin alphabet glyphs, so the user can already see
> those glyphs.

Yes, but this doesn't work for non-latin fonts (like the ones in the screenshot) that often don't have glyphs for the latin alphabet. Would it be possible to show the glyphs a given fonts actually contains instead of trying to show a predefined set like the latin alphabet?
Comment 7 Teppo Turtiainen 2006-10-29 10:30:24 UTC
Still occurs with control-center 2.16.1 on Ubuntu Edgy.
Comment 8 Cosimo Cecchi 2010-11-04 08:57:25 UTC
-> gnome-utils

gnome-font-viewer has now moved to gnome-utils, reassigning.
Comment 9 Teppo Turtiainen 2012-12-19 19:12:21 UTC
Still happens with 3.6.2 on Fedora 18.
Comment 10 Teppo Turtiainen 2014-11-22 17:53:10 UTC
This doesn't happen anymore with 3.14.0 on Fedora 21.