user.js icon indicating copy to clipboard operation
user.js copied to clipboard

-moz font property FP test [1787790 - fixed RFP FF128+]

Open Thorin-II opened this issue 4 years ago • 61 comments

update info: see https://github.com/arkenfox/user.js/issues/1509#issuecomment-1231982265

STR

  • go to https://arkenfox.github.io/TZP/tzp.html#theend
  • click on the show perf & debugging
  • copypaste the sys fonts results and state OS + version

Looking to see if I can reduce the test to three items in FF, instead of 16 (and save 2.5ms)

Also looking to see if the first 12 items differ per OS version (esp windows, probably linux desktop environments and/or distros)

TIA ❤️

here's windows 7 (and android)

FF52-103: windows 7: 6a6aa704622165913da4e2985dacbcd73b8ff466 
- doesn't change with TB
- doesn't change with language AFAICT
- doesn't change with zoom
- [ui] doesn't change with default zoom (all: i.e not zoom text only)

"caption:               Segoe UI 12px" (Roboto 12px)
"icon:                  Segoe UI 12px"
"menu:                  Segoe UI 12px"
"message-box:           Segoe UI 12px"
"small-caption:         Segoe UI 12px"
"status-bar:            Segoe UI 12px"
"-moz-window:           Segoe UI 12px"
"-moz-desktop:          Segoe UI 12px"
"-moz-document:         Segoe UI 12px"
"-moz-workspace:        Segoe UI 12px"
"-moz-info:             Segoe UI 12px"
"-moz-pull-down-menu:   Segoe UI 12px"

"-moz-dialog:           MS Shell Dlg \\32  12px" (Roboto 12px)

"-moz-button:           MS Shell Dlg \\32  13.3333px" (Roboto 13.3333px)
"-moz-list:             MS Shell Dlg \\32  13.3333px"
"-moz-field:            MS Shell Dlg \\32  13.3333px"

Thorin-II avatar Jul 19 '22 09:07 Thorin-II

  • macOS 12.4
  • FF102, Nightly104, TB11.5 (91.11.0esr)
  - caption:             -apple-system 13px
  - icon:                -apple-system 12px
  - menu:                -apple-system 13px
  - message-box:         -apple-system 11px
  - small-caption:       -apple-system 11px
  - status-bar:          -apple-system 11px
  - -moz-window:         sans-serif 14px
  - -moz-desktop:        -apple-system 12px
  - -moz-document:       sans-serif 14px
  - -moz-workspace:      -apple-system 12px
  - -moz-info:           -apple-system 12px
  - -moz-pull-down-menu: -apple-system 13px
  - -moz-dialog:         -apple-system 13px
  - -moz-button:         -apple-system 13.3333px
  - -moz-list:           -apple-system 13.3333px
  - -moz-field:          -apple-system 13.3333px

fxbrit avatar Jul 19 '22 09:07 fxbrit

hey 🎣 ... what do you get if you go to settings > general and change default zoom to e.g. 133% AND tick "zoom text only"

Thorin-II avatar Jul 19 '22 09:07 Thorin-II

133% AND tick "zoom text only"

- caption:              -apple-system 17.29px
- icon:                 -apple-system 15.96px
- menu:                 -apple-system 17.29px
- message-box:          -apple-system 14.63px
- small-caption:        -apple-system 14.63px
- status-bar:           -apple-system 14.63px
- -moz-window:          sans-serif 18.62px
- -moz-desktop:         -apple-system 15.96px
- -moz-document:        sans-serif 18.62px
- -moz-workspace:       -apple-system 15.96px
- -moz-info:            -apple-system 15.96px
- -moz-pull-down-menu:  -apple-system 17.29px
- -moz-dialog:          -apple-system 17.29px
- -moz-button:          -apple-system 17.7333px
- -moz-list:            -apple-system 17.7333px
- -moz-field:           -apple-system 17.7333px

fxbrit avatar Jul 19 '22 09:07 fxbrit

as I thought, the groups stay the same, thanks 🐠

Thorin-II avatar Jul 19 '22 09:07 Thorin-II

FF 102 - Linux Debian XFCE caption:DejaVu Sans 16px icon:DejaVu Sans 16px menu:DejaVu Sans 16px message-box:DejaVu Sans 16px small-caption:DejaVu Sans 16px status-bar:DejaVu Sans 16px -moz-window:DejaVu Sans 16px -moz-desktop:DejaVu Sans 16px -moz-document:DejaVu Sans 16px -moz-workspace:DejaVu Sans 16px -moz-info:DejaVu Sans 16px -moz-pull-down-menu:DejaVu Sans 16px -moz-dialog:DejaVu Sans 16px -moz-button:DejaVu Sans 13.3333px -moz-list:DejaVu Sans 13.3333px -moz-field:DejaVu Sans 13.3333px

2glops avatar Jul 20 '22 08:07 2glops

~~@2glops What's your desktop environment?~~ nvmd .. yu said XFCE elsewhere since

Thorin-II avatar Jul 20 '22 09:07 Thorin-II

FF 102 - Linux Fedora GNOME

    caption:Noto Sans 13.3333px
    icon:Noto Sans 13.3333px
    menu:Noto Sans 13.3333px
    message-box:Noto Sans 13.3333px
    small-caption:Noto Sans 13.3333px
    status-bar:Noto Sans 13.3333px
    -moz-window:Noto Sans 13.3333px
    -moz-desktop:Noto Sans 13.3333px
    -moz-document:Noto Sans 13.3333px
    -moz-workspace:Noto Sans 13.3333px
    -moz-info:Noto Sans 13.3333px
    -moz-pull-down-menu:Noto Sans 13.3333px
    -moz-dialog:Noto Sans 13.3333px
    -moz-button:Noto Sans 13.3333px
    -moz-list:Noto Sans 13.3333px
    -moz-field:Noto Sans 13.3333px

remyabel2 avatar Jul 20 '22 10:07 remyabel2

FF 102 - Linux Debian Xfce caption:DejaVu Sans 16px icon:DejaVu Sans 16px menu:DejaVu Sans 16px message-box:DejaVu Sans 16px small-caption:DejaVu Sans 16px status-bar:DejaVu Sans 16px -moz-window:DejaVu Sans 16px -moz-desktop:DejaVu Sans 16px -moz-document:DejaVu Sans 16px -moz-workspace:DejaVu Sans 16px -moz-info:DejaVu Sans 16px -moz-pull-down-menu:DejaVu Sans 16px -moz-dialog:DejaVu Sans 16px -moz-button:DejaVu Sans 13.3333px -moz-list:DejaVu Sans 13.3333px -moz-field:DejaVu Sans 13.3333px

2glops avatar Jul 20 '22 11:07 2glops

FF102 Linux (Arch, Xfce)

    caption:Sans 13.3333px
    icon:Sans 13.3333px
    menu:Sans 13.3333px
    message-box:Sans 13.3333px
    small-caption:Sans 13.3333px
    status-bar:Sans 13.3333px
    -moz-window:Sans 13.3333px
    -moz-desktop:Sans 13.3333px
    -moz-document:Sans 13.3333px
    -moz-workspace:Sans 13.3333px
    -moz-info:Sans 13.3333px
    -moz-pull-down-menu:Sans 13.3333px
    -moz-dialog:Sans 13.3333px
    -moz-button:Sans 13.3333px
    -moz-list:Sans 13.3333px
    -moz-field:Sans 13.3333px

bashonly avatar Jul 20 '22 16:07 bashonly

FF102 Xubuntu (Ubuntu + Xfce basically)

caption:Noto Sans 12px
icon:Noto Sans 12px
menu:Noto Sans 12px
message-box:Noto Sans 12px
small-caption:Noto Sans 12px
status-bar:Noto Sans 12px
-moz-window:Noto Sans 12px
-moz-desktop:Noto Sans 12px
-moz-document:Noto Sans 12px
-moz-workspace:Noto Sans 12px
-moz-info:Noto Sans 12px
-moz-pull-down-menu:Noto Sans 12px
-moz-dialog:Noto Sans 12px
-moz-button:Noto Sans 13.3333px
-moz-list:Noto Sans 13.3333px
-moz-field:Noto Sans 13.3333px

fxbrit avatar Jul 20 '22 17:07 fxbrit

linux so far seems to be covered by just two items - thanks you gals (and guys)

Thorin-II avatar Jul 20 '22 17:07 Thorin-II

  • Windows 10 Pro 21H1
  • FF 102.0.1
caption:Segoe UI 12px
    icon:Segoe UI 12px
    menu:Segoe UI 12px
    message-box:Segoe UI 12px
    small-caption:Segoe UI 12px
    status-bar:Segoe UI 12px
    -moz-window:Segoe UI 12px
    -moz-desktop:Segoe UI 12px
    -moz-document:Segoe UI 12px
    -moz-workspace:Segoe UI 12px
    -moz-info:Segoe UI 12px
    -moz-pull-down-menu:Segoe UI 12px
    -moz-dialog:MS Shell Dlg \32  12px
    -moz-button:MS Shell Dlg \32  13.3333px
    -moz-list:MS Shell Dlg \32  13.3333px
    -moz-field:MS Shell Dlg \32  13.3333px

cryptocat8 avatar Jul 21 '22 05:07 cryptocat8

Windows 7, FF 102

sys fonts: 
    caption:Arial Rounded MT Bold 12px
    icon:Arial Rounded MT Bold 12px
    menu:Arial Rounded MT Bold 12px
    message-box:Arial Rounded MT Bold 12px
    small-caption:Arial Rounded MT Bold 12px
    status-bar:Arial Rounded MT Bold 12px
    -moz-window:Arial Rounded MT Bold 12px
    -moz-desktop:Arial Rounded MT Bold 12px
    -moz-document:Arial Rounded MT Bold 12px
    -moz-workspace:Arial Rounded MT Bold 12px
    -moz-info:Arial Rounded MT Bold 12px
    -moz-pull-down-menu:Arial Rounded MT Bold 12px
    -moz-dialog:MS Shell Dlg \32  12px
    -moz-button:MS Shell Dlg \32  13.3333px
    -moz-list:MS Shell Dlg \32  13.3333px
    -moz-field:MS Shell Dlg \32  13.3333px

This is alarming. Can websites see the different font?

And how did you test Android? Using Mull?

opusforlife2 avatar Jul 21 '22 16:07 opusforlife2

Fedora Linux 36 - FF 102

   sys fonts: 
    caption:Cantarell 14.6667px
    icon:Cantarell 14.6667px
    menu:Cantarell 14.6667px
    message-box:Cantarell 14.6667px
    small-caption:Cantarell 14.6667px
    status-bar:Cantarell 14.6667px
    -moz-window:Cantarell 14.6667px
    -moz-desktop:Cantarell 14.6667px
    -moz-document:Cantarell 14.6667px
    -moz-workspace:Cantarell 14.6667px
    -moz-info:Cantarell 14.6667px
    -moz-pull-down-menu:Cantarell 14.6667px
    -moz-dialog:Cantarell 14.6667px
    -moz-button:Cantarell 13.3333px
    -moz-list:Cantarell 13.3333px
    -moz-field:Cantarell 13.3333px

rusty-snake avatar Jul 21 '22 17:07 rusty-snake

@opusforlife2

This is alarming. Can websites see the different font

yes. MS Shell Dlg is a windo3ws system font that maps to Tahoma

I find your results, with Arial Rounded MT Bold to be highly unusual. Can you go to TZP on your windows machine, and under the pref section, click on [details] global perf and then check your console log (Ctrl-Shift-K) and tell me the isOS [global] line

e.g. here is mine

855 : IMMEDIATE
             warmup start [md]:    0 ms |     n/a
         installtrigger [isFF]:    1 ms |     n/a | false, false, false
               isOS64 [prereq]:    2 ms |     n/a | true
                    v80 [warm]:    1 ms |     n/a | true
934 : RUN ONCE
                 errors [isFF]:    0 ms |     n/a | true | 4fdb30b3
            system font [isFF]:    0 ms |     n/a | true
                   math [isFF]:    1 ms |     n/a | true | cb89002a
           isFFLegacy [global]:   false
           final status [isFF]:    true
             isEngine [global]:    1 ms |     n/a | gecko | cb89002a
                 isOS [global]:    0 ms |     n/a | windows | MS Shell Dlg \32  <-- THIS LINE

I'm using something different to determine the OS. It's really important that this value is always correct. So I want to check that this particular test is still getting MS Shell Dlg \32

Likewise, can you in the third section, feature detection, click the [widgets] os result at the end of the line, it should say [windows] and tell me what you get in the console

e.g. here is mine

0: "button: MS Shell Dlg \\32 , 13.3333px"
​1: "checkbox: MS Shell Dlg \\32 , 13.3333px"
​2: "color: MS Shell Dlg \\32 , 13.3333px"
​3: "combobox: MS Shell Dlg \\32 , 13.3333px"
​4: "radio: MS Shell Dlg \\32 , 13.3333px"
​5: "text: MS Shell Dlg \\32 , 13.3333px"
​6: "datetime: monospace, 13.3333px"
​7: "textarea: monospace, 13px"

Thorin-II avatar Jul 21 '22 18:07 Thorin-II

And how did you test Android? Using Mull?

I have Firefox (ETP Strict mode, HTTPS-Only Mode, sanitize on close, uBO with some pasted in cosmetic filters for a dozen sites) for my daily use - I use it to check some news/sports etc if in bed and whatnot

I also have Firefox Nightly, with RFP on by default for testing. And I also have Mull (for testing). Since RFP doesn't affect this test, I just used standard Firefox and noted the result in the perf section

Thorin-II avatar Jul 21 '22 18:07 Thorin-II

I find your results, with Arial Rounded MT Bold to be highly unusual.

Just to preempt any pointless testing, this is the font I'd actually set for the text in Windows long ago. Should I still conduct these tests?

opusforlife2 avatar Jul 21 '22 18:07 opusforlife2

how did you "set this font"? Yes, I still want the test

Thorin-II avatar Jul 21 '22 18:07 Thorin-II

@rusty-snake what is your desktop environment? Cantarell sounds like GNOME

Thorin-II avatar Jul 21 '22 18:07 Thorin-II

Yes GNOME.

Also Fedora Linux switched to prefer Noto Sans in the most places since 36 (https://www.fedoraproject.org/wiki/Changes/DefaultToNotoFonts). Not sure if this is relevant here or if there is a difference between new-installations and upgrades (I upgraded).

rusty-snake avatar Jul 21 '22 18:07 rusty-snake