Commits


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.


libdraw: fix error in the previous commit


mc: fix crash in acme with hidpi display


samterm: free some getenv results


sam: freetmpstr instead of free


libdraw: fix some memory leaks in font handling


fontsrv: fix some memory leaks


devdraw: fix some memory leaks in x11


acme: fix some memory leaks


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.


mount, 9pfuse: detect macports installed osxfuse MacPorts installs osxfuse under /opt/local.


fontsrv: skip only the surrogate pairs fontsrv wasn't rendering fontawesome icons, which uses the private use area around 0xf000.


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


9pserve: fix memory leak in warning


.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.