• 9 displays as - in every browser

    From Bob Tennent@21:1/5 to All on Fri Apr 2 12:44:07 2021
    On my CentOS-7 system, "9" displays as "-" in google-chrome,
    chromium, firefox, vivaldi, and opera. Why?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to rdtennent@gmail.com on Fri Apr 2 17:53:54 2021
    In comp.os.linux.development.apps, Bob Tennent <rdtennent@gmail.com> wrote:
    On my CentOS-7 system, "9" displays as "-" in google-chrome,
    chromium, firefox, vivaldi, and opera. Why?

    Have you ruled out a corrupt font file?

    Elijah
    ------
    had a printer with corrupt built-in fonts once

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to rdtennent@gmail.com on Fri Apr 2 18:50:51 2021
    In comp.os.linux.development.apps, Bob Tennent <rdtennent@gmail.com> wrote:
    On Fri, 2 Apr 2021 17:53:54 +0000 (UTC), Eli the Bearded wrote:
    In comp.os.linux.development.apps, Bob Tennent <rdtennent@gmail.com> wrote: >>> On my CentOS-7 system, "9" displays as "-" in google-chrome,
    chromium, firefox, vivaldi, and opera. Why?
    Have you ruled out a corrupt font file?
    Seems to happen only for certain web sites.

    And are those web sites specifying a particular font?

    Have you tried this on another device? Maybe it's something about the
    site(s). If it's only certain web sites, you could share and maybe
    someone else running CentOS-7 (I'm not) could try to reproduce.

    Have you tried cut-n-pasting the text to see if it shows up as a - or a
    9 in another program? Consider trying programs that support HTML paste,
    like Libre Office, and those that don't, like ed/vi/emacs in an xterm.

    Elijah
    ------
    really, what have you done to try to really identify the problem?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Tennent@21:1/5 to Eli the Bearded on Fri Apr 2 18:39:52 2021
    On Fri, 2 Apr 2021 17:53:54 +0000 (UTC), Eli the Bearded wrote:
    In comp.os.linux.development.apps, Bob Tennent <rdtennent@gmail.com> wrote:
    On my CentOS-7 system, "9" displays as "-" in google-chrome,
    chromium, firefox, vivaldi, and opera. Why?

    Have you ruled out a corrupt font file?

    Seems to happen only for certain web sites.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to rdtennent@gmail.com on Fri Apr 2 23:30:40 2021
    In comp.os.linux.development.apps, Bob Tennent <rdtennent@gmail.com> wrote:
    A typical problem site is imslp.org. I can't find where the
    font is specified. It's not the default font I've specified
    in preferences.
    ...
    Yes. Another CentOS-7 system. No problems.
    ...
    Selecting a title with 9s and pasting into an xterm shows
    the 9s.

    All consistent with a corrupt font. Checksum the font files and compare
    with the working system. It might be something else still, but that
    seems most likely now.

    Elijah
    ------
    try Web Developer -> Inspector to find the font by name

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Tennent@21:1/5 to Eli the Bearded on Fri Apr 2 23:16:07 2021
    On Fri, 2 Apr 2021 18:50:51 +0000 (UTC), Eli the Bearded wrote:

    Seems to happen only for certain web sites.

    And are those web sites specifying a particular font?

    A typical problem site is imslp.org. I can't find where the
    font is specified. It's not the default font I've specified
    in preferences.

    Have you tried this on another device?

    Yes. Another CentOS-7 system. No problems.

    Have you tried cut-n-pasting the text to see if it shows
    up as a - or a 9 in another program?

    Selecting a title with 9s and pasting into an xterm shows
    the 9s.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Tennent@21:1/5 to Eli the Bearded on Sat Apr 3 01:09:10 2021
    On Fri, 2 Apr 2021 23:30:40 +0000 (UTC), Eli the Bearded wrote:
    In comp.os.linux.development.apps, Bob Tennent <rdtennent@gmail.com> wrote:
    A typical problem site is imslp.org. I can't find where the
    font is specified. It's not the default font I've specified
    in preferences.
    ...
    Yes. Another CentOS-7 system. No problems.
    ...
    Selecting a title with 9s and pasting into an xterm shows
    the 9s.

    All consistent with a corrupt font. Checksum the font files and compare
    with the working system. It might be something else still, but that
    seems most likely now.

    Elijah
    ------
    try Web Developer -> Inspector to find the font by name

    Seems to be one of "Lucida Grande","Trebuchet MS","Verdana","Helvetica","Arial",sans-serif;

    fc-match Lucida Grande fails but fc-match Trebuchet reports

    DejaVuSans.ttf: "DejaVu Sans" "Book"

    Is that the suspect font? I opened my DejaVuSans.ttf in
    fontforge and 9 is 9. Same with all the others.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Tennent@21:1/5 to Bob Tennent on Sat Apr 3 01:45:21 2021
    On Sat, 3 Apr 2021 01:09:10 -0000 (UTC), Bob Tennent wrote:
    On Fri, 2 Apr 2021 23:30:40 +0000 (UTC), Eli the Bearded wrote:
    In comp.os.linux.development.apps, Bob Tennent <rdtennent@gmail.com> wrote:
    A typical problem site is imslp.org. I can't find where the
    font is specified. It's not the default font I've specified
    in preferences.
    ...
    Yes. Another CentOS-7 system. No problems.
    ...
    Selecting a title with 9s and pasting into an xterm shows
    the 9s.

    All consistent with a corrupt font. Checksum the font files and compare with the working system. It might be something else still, but that
    seems most likely now.

    Elijah
    ------
    try Web Developer -> Inspector to find the font by name

    Seems to be one of "Lucida Grande","Trebuchet MS","Verdana","Helvetica","Arial",sans-serif;

    fc-match Lucida Grande fails but fc-match Trebuchet reports

    DejaVuSans.ttf: "DejaVu Sans" "Book"

    Is that the suspect font? I opened my DejaVuSans.ttf in
    fontforge and 9 is 9. Same with all the others.

    Using the following test file:


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Bookmarks</TITLE>
    <style type="text/css">
    body { font-family: "Lucida Grande";}
    </style>
    </head>
    999
    </BODY></HTML>

    I've determined that my Lucida_Grande.ttf is the problem
    (though in fontforge it is showing 9 as 9). After removing
    Lucida_Grande.ttf from my system (and calling fc-cache) the
    problem has been solved. Thanks!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jasen Betts@21:1/5 to Bob Tennent on Sat Apr 3 03:35:44 2021
    On 2021-04-02, Bob Tennent <rdtennent@tennent.ca> wrote:
    On my CentOS-7 system, "9" displays as "-" in google-chrome,
    chromium, firefox, vivaldi, and opera. Why?

    I had problems like that when I was overclocking my video card,
    rebooting or restarting X11 would temporarily fix it.

    --
    Jasen.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to rdtennent@gmail.com on Sat Apr 3 05:26:53 2021
    In comp.os.linux.development.apps, Bob Tennent <rdtennent@gmail.com> wrote:
    Seems to be one of "Lucida Grande","Trebuchet
    MS","Verdana","Helvetica","Arial",sans-serif;

    Firefox inspector (which is the only one I've used recently, and not
    much) underlines the font being used.

    fontforge and 9 is 9. Same with all the others.

    Fontforge must be using the font files differently, but I can't say how.
    Fonts are complicated.[*]

    Using the following test file:
    ...
    <style type="text/css">
    body { font-family: "Lucida Grande";}
    </style>
    </head>
    999
    ...

    I've determined that my Lucida_Grande.ttf is the problem

    That's good. Corrupt fonts are not common, or at least not commonly
    noticed. If ¥ prints as ₩ but you never buy anything in Yen or Won, you might not realize the problem.

    Elijah
    ------
    [*] https://hackaday.com/2021/03/22/an-entire-game-inside-of-a-font/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)