Commit Briefs

David du Colombier

fontsrv: omit box-drawing characters from line struts on macOS

For some fonts, using box-drawing characters in the representative text for computing the line height results in it being uncomfortably high. Replace them with accented capitals and tall lower-case letters which lead to a more conservative increase in the line height. Fixes #162.


David du Colombier

libdraw: fix error in the previous commit


David du Colombier

mc: fix crash in acme with hidpi display


David du Colombier

samterm: free some getenv results


David du Colombier

sam: freetmpstr instead of free



David du Colombier

fontsrv: fix some memory leaks


David du Colombier

devdraw: fix some memory leaks in x11


David du Colombier

acme: fix some memory leaks


David du Colombier

fontsrv: enlarge drawing buffer for subfonts on macOS

Double the width returned by CTFontGetBoundingBox when drawing. Add box drawing characters for determining the line height. Call freememimage(1) for the character memimage. Fixes #18. Fixes #120. Fixes #146.


David du Colombier

mount, 9pfuse: detect macports installed osxfuse

MacPorts installs osxfuse under /opt/local.


David du Colombier

fontsrv: skip only the surrogate pairs

fontsrv wasn't rendering fontawesome icons, which uses the private use area around 0xf000.


David du Colombier

mount: check current osxfuse kext location

Current versions of osxfuse ship with multiple versions of its kernel extension (kext) for differend versions of macOS. Running mount(1) on macOS with a current version of osxfuse fails with `don't know how to mount (no fuse)' since it fails to find the kext. Running 9pfuse(4) directly works fine. This change adds a check to mount(1) that determines: 1) which version of macOS we're running on 2) if there is an osxfuse kext available for this version of macOS


David du Colombier

9pserve: fix memory leak in warning


David du Colombier

.gitignore: ignore files created for astro(1) and scat(1)

To use astro(1) and scat(1) one has to create sky/here and download various catalogue files as detailed in sky/README. This change marks those files as ignored by git so they don't clutter its status messages.