这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Finii
Copy link
Collaborator

@Finii Finii commented Feb 1, 2023

Description

[why]
Some fonts have invalid (or unset) Panose flags. When we create a Nerd Font Mono font the Panose proportion is set to monospace. This
make the font selectable in certain applications that need monospaced
fonts.

After #764 the Nerd Font variant (without Mono) shall (again) be detected as
monospaced font, but the glyphs have a big right side bearing (hang into
the next 'cell'). So we need to set the Panose bits there also.

[how]
We already have a check if the font is probably monospaced, independent
from Panose. This is used to prevent --mono patching on originally
proportional fonts.

If we find out with that check that the font is (most probably)
monospaced we also set the appropriate bits in Panose; unless Panose has
valid values that contradict that change.

Fixes: #1098

Requirements / Checklist

What does this Pull Request (PR) do?

How should this be manually tested?

Install CaskaydiaCove Nerd Font Complete.ttf on Windows and try to select it in Windows Terminal (without 'all fonts').

Any background context you can provide?

What are the relevant tickets (if any)?

Screenshots (if appropriate or helpful)

Finii added 2 commits February 1, 2023 17:53
[why]
query_monospace is newer.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
Some fonts have invalid (or unset) Panose flags. When we create a "Nerd
Font Mono" font the Panose proportion is set to 'monospace'. This
make the font selectable in certain applications that need monospaced
fonts.

After #764 the "Nerd Font" variant shall (again) be detected as
monospaced font, but the glyphs have a big right side bearing (hang into
the next 'cell'). So we need to set the Panose bits there also.

[how]
We already have a check if the font is propably monospaced, independent
from Panose. This is used to prevent --mono patching on originally
proportional fonts.

If we find out with that check that the font is (most probably)
monospaced we also set the appropriate bits in Panose; unless Panose has
valid values that contradict that change.

Fixes: #1098

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@Finii Finii added the Bug fix label Feb 1, 2023
@Finii
Copy link
Collaborator Author

Finii commented Feb 2, 2023

All Panose related messages

Running on all fonts in src/unpatched-fonts/ see below.
This looks all good. Hermit could have an iussue but that is unrelated to this PR.


Hermit

Bold and light not monospaced?

src/unpatched-fonts/Hermit/Bold/Hermit-bold.otf
  Warning: Monospaced check: Panose assumed to be wrong
  Advance widths (base/extended): 617 - 617 / 707 - 707 and Panose says "monospaced"
src/unpatched-fonts/Hermit/Light/Hermit-light.otf
  Warning: Monospaced check: Panose assumed to be wrong
  Advance widths (base/extended): 527 - 527 / 617 - 617 and Panose says "monospaced"
src/unpatched-fonts/Hermit/Medium/Hermit-medium.otf
  Advance widths (base/extended): 617 - 617 / 617 - 617 and Panose says "monospaced"

iA Writer

Panose only partially filled

src/unpatched-fonts/iA-Writer/iA Writer Mono/Regular/iAWriterMonoS-Regular.ttf
  Advance widths (base/extended): 600 - 600 / 667 - 667 and Panose is invalid ([0, 0, 5, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/iA-Writer/iA Writer Mono/Bold/iAWriterMonoS-Bold.ttf
  Advance widths (base/extended): 600 - 600 / 619 - 619 and Panose is invalid ([0, 0, 8, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/iA-Writer/iA Writer Mono/BoldItalic/iAWriterMonoS-BoldItalic.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 8, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/iA-Writer/iA Writer Mono/Italic/iAWriterMonoS-Italic.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 5, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')

OpenDyslexic

Panose only partially filled

src/unpatched-fonts/OpenDyslexic/Mono-Regular/OpenDyslexicMono-Regular.otf
  Advance widths (base/extended): 732 - 732 / 732 - 1464 and Panose is invalid ([0, 0, 5, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')

Mononoki

Panose empty

src/unpatched-fonts/Mononoki/Regular/mononoki-Regular.ttf
  Advance widths (base/extended): 575 - 575 / 575 - 575 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Mononoki/Bold/mononoki-Bold.ttf
  Advance widths (base/extended): 575 - 575 / 575 - 575 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Mononoki/Italic/mononoki-Italic.ttf
  Advance widths (base/extended): 575 - 575 / 575 - 575 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Mononoki/Bold-Italic/mononoki-BoldItalic.ttf
  Advance widths (base/extended): 575 - 575 / 575 - 575 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')

ProggyClean

Panose only partially filled

src/unpatched-fonts/ProggyClean/SlashedZero/ProggyCleanSZ.ttf
  Advance widths (base/extended): 896 - 896 / 896 - 896 and Panose is invalid ([0, 0, 4, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/ProggyClean/Latin2/ProggyCleanCE.ttf
  Advance widths (base/extended): 896 - 896 / 896 - 896 and Panose is invalid ([0, 0, 4, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/ProggyClean/Regular/ProggyClean.ttf
  Advance widths (base/extended): 896 - 896 / 896 - 896 and Panose is invalid ([0, 0, 4, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')

RobotoMono

Panose empty

src/unpatched-fonts/RobotoMono/Thin-Italic/RobotoMono-ThinItalic.ttf
  Advance widths (base/extended): 1202 - 1202 / 1203 - 1422 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/RobotoMono/Medium-Italic/RobotoMono-MediumItalic.ttf
  Advance widths (base/extended): 1202 - 1202 / 1202 - 1422 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/RobotoMono/Regular/RobotoMono-Regular.ttf
  Advance widths (base/extended): 1229 - 1229 / 1230 - 1449 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/RobotoMono/Bold/RobotoMono-Bold.ttf
  Advance widths (base/extended): 1229 - 1229 / 1229 - 1449 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/RobotoMono/Italic/RobotoMono-Italic.ttf
  Advance widths (base/extended): 1202 - 1202 / 1203 - 1422 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/RobotoMono/Light/RobotoMono-Light.ttf
  Advance widths (base/extended): 1229 - 1229 / 1230 - 1449 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/RobotoMono/Bold-Italic/RobotoMono-BoldItalic.ttf
  Advance widths (base/extended): 1202 - 1202 / 1202 - 1422 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/RobotoMono/Medium/RobotoMono-Medium.ttf
  Advance widths (base/extended): 1229 - 1229 / 1229 - 1449 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/RobotoMono/Thin/RobotoMono-Thin.ttf
  Advance widths (base/extended): 1229 - 1229 / 1230 - 1449 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/RobotoMono/Light-Italic/RobotoMono-LightItalic.ttf
  Advance widths (base/extended): 1202 - 1202 / 1203 - 1422 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')

ProFont

Panose only partially filled

src/unpatched-fonts/ProFont/profontiix/ProFontIIx.ttf
  Advance widths (base/extended): 0 - 600 / 600 - 600 and Panose is invalid ([0, 0, 4, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')

DaddyTimeMono

Panose only partially filled

src/unpatched-fonts/DaddyTimeMono/DaddyTimeMono.ttf
  Advance widths (base/extended): 588 - 588 / 588 - 588 and Panose is invalid ([0, 0, 5, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')

Lekton

Panose proportion unset / strange

src/unpatched-fonts/Lekton/Regular/Lekton-Regular.ttf
  Warning: Monospaced check: Panose assumed to be wrong
  Advance widths (base/extended): 500 - 500 / 500 - 500 and Panose says "not monospaced"
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Lekton/Bold/Lekton-Bold.ttf
  Warning: Monospaced check: Panose assumed to be wrong
  Advance widths (base/extended): 500 - 500 / 500 - 500 and Panose says "not monospaced"
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Lekton/Italic/Lekton-Italic.ttf
  Warning: Monospaced check: Panose assumed to be wrong
  Advance widths (base/extended): 455 - 455 / 500 - 500 and Panose says "not monospaced"
  Setting Panose 'Proportion' to 'Monospace' (was 'Condensed')

Monofur

Only Italic has unset proportion?!

src/unpatched-fonts/Monofur/Regular/Monofur for Powerline.ttf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose says "monospaced"
src/unpatched-fonts/Monofur/Bold/Monofur Bold for Powerline.ttf
  Advance widths (base/extended): 1200 - 1200 / 1319 - 1319 and Panose says "monospaced"
src/unpatched-fonts/Monofur/Italic/Monofur Italic for Powerline.ttf
  Warning: Monospaced check: Panose assumed to be wrong
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose says "not monospaced"
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')

FiraCode

Panose empty

src/unpatched-fonts/FiraCode/Regular/FiraCode-Regular.ttf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/FiraCode/Bold/FiraCode-Bold.ttf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/FiraCode/Light/FiraCode-Light.ttf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/FiraCode/Medium/FiraCode-Medium.ttf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/FiraCode/SemiBold/FiraCode-SemiBold.ttf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/FiraCode/Retina/FiraCode-Retina.ttf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')

CascadiaCode

Panose empty (issue raised at their repo)

src/unpatched-fonts/CascadiaCode/ExtraLight/CascadiaCode-ExtraLightItalic.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/CascadiaCode/ExtraLight/CascadiaCode-ExtraLight.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/CascadiaCode/Regular/CascadiaCode-Italic.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/CascadiaCode/Regular/CascadiaCode-Regular.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/CascadiaCode/Bold/CascadiaCode-BoldItalic.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/CascadiaCode/Bold/CascadiaCode-Bold.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/CascadiaCode/SemiLight/CascadiaCode-SemiLightItalic.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/CascadiaCode/SemiLight/CascadiaCode-SemiLight.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/CascadiaCode/Light/CascadiaCode-Light.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/CascadiaCode/Light/CascadiaCode-LightItalic.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/CascadiaCode/SemiBold/CascadiaCode-SemiBold.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/CascadiaCode/SemiBold/CascadiaCode-SemiBoldItalic.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')

Gohu

One style has different proportion in Panose

src/unpatched-fonts/Gohu/11/gohufont-11.ttf
  Advance widths (base/extended): 1117 - 1117 / 1117 - 1117 and Panose says "monospaced"
src/unpatched-fonts/Gohu/uni-14/gohufont-uni-14.ttf
  Advance widths (base/extended): 1170 - 1170 / 1170 - 1170 and Panose says "monospaced"
src/unpatched-fonts/Gohu/uni-11/gohufont-uni-11.ttf
  Warning: Monospaced check: Panose assumed to be wrong
  Advance widths (base/extended): 1117 - 1117 / 1117 - 1117 and Panose says "not monospaced"
  Setting Panose 'Proportion' to 'Monospace' (was 'Modern')

Inconsolata

Panose empty

src/unpatched-fonts/Inconsolata/Inconsolata-Regular.ttf
  Advance widths (base/extended): 500 - 500 / 500 - 500 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Inconsolata/Inconsolata-Bold.otf
  Advance widths (base/extended): 500 - 500 / 500 - 500 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Inconsolata/Inconsolata-Regular.otf
  Advance widths (base/extended): 500 - 500 / 500 - 500 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Inconsolata/Inconsolata-Bold.ttf
  Advance widths (base/extended): 500 - 500 / 500 - 500 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')

Lilex

Panose empty

src/unpatched-fonts/Lilex/Regular/Lilex-Regular.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Lilex/Regular/Lilex-Regular.ttf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Lilex/Bold/Lilex-Bold.ttf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Lilex/Bold/Lilex-Bold.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Lilex/Light/Lilex-Light.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Lilex/Light/Lilex-Light.ttf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Lilex/Medium/Lilex-Medium.ttf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')
src/unpatched-fonts/Lilex/Medium/Lilex-Medium.otf
  Advance widths (base/extended): 1200 - 1200 / 1200 - 1200 and Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
  Setting Panose 'Proportion' to 'Monospace' (was 'Any')

VictorMono

Panose only partially set

src/unpatched-fonts/VictorMono/Thin-Italic/VictorMono-ThinItalic.ttf
  Advance widths (base/extended): 600 - 600 / 603 - 603 and Panose is invalid ([0, 0, 2, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Medium-Italic/VictorMono-MediumItalic.ttf
  Advance widths (base/extended): 600 - 600 / 601 - 601 and Panose is invalid ([0, 0, 6, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Semi-Bold-Italic/VictorMono-SemiBoldItalic.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 7, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Regular/VictorMono-Regular.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 5, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Bold/VictorMono-Bold.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 8, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Bold-Oblique/VictorMono-BoldOblique.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 8, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Italic/VictorMono-Italic.ttf
  Advance widths (base/extended): 600 - 600 / 601 - 601 and Panose is invalid ([0, 0, 5, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Extra-Light/VictorMono-ExtraLight.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 3, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Medium-Oblique/VictorMono-MediumOblique.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 6, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Extra-Light-Italic/VictorMono-ExtraLightItalic.ttf
  Advance widths (base/extended): 600 - 600 / 602 - 602 and Panose is invalid ([0, 0, 3, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Thin-Oblique/VictorMono-ThinOblique.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 2, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Light/VictorMono-Light.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 4, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Oblique/VictorMono-Oblique.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 5, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Bold-Italic/VictorMono-BoldItalic.ttf
  Advance widths (base/extended): 599 - 599 / 600 - 600 and Panose is invalid ([0, 0, 8, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Medium/VictorMono-Medium.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 6, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Extra-Light-Oblique/VictorMono-ExtraLightOblique.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 3, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Thin/VictorMono-Thin.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 2, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Light-Italic/VictorMono-LightItalic.ttf
  Advance widths (base/extended): 600 - 600 / 602 - 602 and Panose is invalid ([0, 0, 4, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Light-Oblique/VictorMono-LightOblique.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 4, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Semi-Bold-Oblique/VictorMono-SemiBoldOblique.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 7, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/VictorMono/Semi-Bold/VictorMono-SemiBold.ttf
  Advance widths (base/extended): 600 - 600 / 600 - 600 and Panose is invalid ([0, 0, 7, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')

Overpass

Panose only partially set

src/unpatched-fonts/Overpass/Mono/Regular/overpass-mono-regular.otf
  Advance widths (base/extended): 616 - 616 / 616 - 1232 and Panose is invalid ([0, 0, 5, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/Overpass/Mono/Bold/overpass-mono-bold.otf
  Advance widths (base/extended): 616 - 616 / 616 - 1232 and Panose is invalid ([0, 0, 8, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/Overpass/Mono/Light/overpass-mono-light.otf
  Advance widths (base/extended): 616 - 616 / 616 - 1232 and Panose is invalid ([0, 0, 4, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
src/unpatched-fonts/Overpass/Mono/Semi-Bold/overpass-mono-semibold.otf
  Advance widths (base/extended): 616 - 616 / 616 - 1232 and Panose is invalid ([0, 0, 7, 9, 0, 0, 0, 0, 0, 0])
  Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')

@Finii Finii merged commit 3eed457 into master Feb 2, 2023
@Finii Finii deleted the bugfix/panose-on-standard-variant branch February 2, 2023 10:00
Finii added a commit that referenced this pull request Feb 2, 2023
[why]
Forgot to push these changes to the PR #1099.
They are just 'more output'.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Finii added a commit to b-/nerd-fonts that referenced this pull request Feb 17, 2023
[why]
Forgot to push these changes to the PR ryanoasis#1099.
They are just 'more output'.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
LNKLEO pushed a commit to LNKLEO/Nerd that referenced this pull request Nov 24, 2023
…ndard-variant

Bugfix Panose on "Nerd Font" variants
LNKLEO pushed a commit to LNKLEO/Nerd that referenced this pull request Nov 24, 2023
[why]
Forgot to push these changes to the PR ryanoasis#1099.
They are just 'more output'.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nerd Fonts nonMono not selectable with Windows Terminal

2 participants