How to debug single font issue?

What I’m trying to do

0xProto font from 0xType · GitHub will not work and Obsidian won’t tell me why.

Other 2 fonts from the same dev work fine - how can I debug this issue and possibly inform font dev?

Things I have tried

  1. Made sure both Obsidian and this font are up to date (1.7.7 and 2.201 respectively).
  2. Tried both OS and app restarts.
  3. Installed the same Obsidian version on a separate OS, installed all 3 fonts there and got the same result:
  • all fonts show up and are selectable under Appearance > Font > Manage
  • only 0xProto will not display itself in neither Editing nor Reading mode for variable or mono
  • as Interface font it is as if some random serif font gets activated when 0xProto is present, and even moving other fonts up will not cure this until it is removed.

Yeah, there’s something about that font that Obsidian’s Settings interface doesn’t like. I installed these three from here,

Screenshot 2024-12-29 at 10.16.14

restarted, and tried typing in 0xProto, 0xProto-Regular, 0xProto-Bold, and 0xProto-Italic. None of them worked in the Settings > Appearance > Font sections.


However, referring to the font in CSS snippets is working. e.g.

/* editor font */
.markdown-source-view > .cm-editor > .cm-scroller {
    font-family: '0xProto'; 
}

/* rendered & reading view font */
.markdown-preview-view, .markdown-rendered {
    font-family: '0xProto'; 
}

live preview | reading

or

body {
    --h1-font: '0xProto';
    --h2-font: '0xProto';
}


You could let the dev know here: https://github.com/0xType/0xProto/issues.

1 Like