Skip to content

datMaffin/monofoki

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork of the font Mononoki; Monofoki

Original repository: https://github.com/madmalik/mononoki

Goals of this fork

The goal of this fork is to change the Mononoki font to use my preferences. This means that various glyphs and their dependencies were modified and that the bold style no longer has a larger height than the regular style.

This version also tries to fix all the known issues and at times adds additional glyphs.

Disclaimer: I am not a professional in the field of type-design!

Fundamental changes were:

  • Make the "m" similar to Ubuntu Mono "m"
  • Decrease width of "n" similar to Ubuntu Mono
    • Change glyphs dependent on "n" correspondingly: "h", "r", "u", "k"
  • Increase width of "o" similar to Ubuntu Mono
    • Change glyphs dependent on "o" correspondingly: "O", "e", "U", "Q"
    • Also need to check size relation to "C", "c" and "G". Looks ok... "O" is a little bit wider than "C" and "G". "C" and "G" have the same width. May increase width of "C" and "G" a little bit.
  • Increase width of "s" similar to Ubuntu Mono
    • Study the relation of width from "s" to "S" in other Fonts. Fonts vary in their relation. Decided on mononoki "s" looks perfectly fine.
  • Use "l" glyph for the "i" as well
  • Increase height of middle line in "a" to line up with "e"
    • May need further refinement
  • Italic "J" and BoldItalic "J" have different shapes
  • Decrease width of "w" to be more similar in width with "m"
    • May need further refinement
  • Fix missing UTF-8 glyphs: ä, ö, ü
    • This problem happens when creating a file with the macOS finder conaining ä, ö, ü: When using iTerm the file name is not printed in the Mononoki-Font.
    • The fix was: Add zero width glyph COMBINING DIARESIS (Nr. 776) with diaresis in negative space.
    • Setting all the combining characters to "mark" and having them in the regular (positive) space also seemed to work
  • Reduce bold italic "r" stem width to equal all other letters stem widths
  • TTF autohinted bold italic "o" is too high (turned out to be an exclusive Java/Intellij Idea issue; probably not related to TTF autohinted)
  • CANCELED: Put "E" and "F" middle stroke ontu the same height

Further experiments/provide more options

  • Lower the bar of "f" similar to Consolas
  • Create a build pipeline (with the source being FontForge .sfd files)
    • Use ttfautohint
  • Bold currently increases the height of glyphs a little to much for my taste.
    • Bold is now auto generated: Generate the bold sfd's from the regular sfd's with the script_helper/generate_bold_sfd.sh script.

Fork specific problems to solve

  • FontForge does not have a tool to create rounded edges

Other TODOs

  • Fix directions of glyphs in FontForge
  • .ttf fonts wont work on macOS (otf is working)
  • macOS is still complaining about the name table
  • FontForge tutorial says to change layers to quadratic before exporting font as ttfs
  • Issues with back- and frontticks: for some reason they get wrongly rendered on top of the letter infront. Adding all combining accents (from UTF 0x300 onward) did not resolve this issue. Solution (Fix) was: For all affected glyphs set "OT Glyph Class" to "Base Glyph"

About

a programming typeface

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 49.1%
  • TeX 32.6%
  • Nix 9.3%
  • Python 9.0%