Releases: flowing-abyss/obsidian-local-fonts
Release list
1.1.0
Changed
The default fonts folder is now fonts instead of .fonts. Obsidian Sync skips every
folder whose name starts with a dot, so the old default meant a synced vault arrived
without the fonts it was configured to use. A hidden folder still works for anyone who
wants one. Existing installs keep whatever folder they already had.
Added
The Fonts folder field now warns when the path lands inside a hidden folder, with a link
to Obsidian's own docs on hidden files. Thanks to @sigrunixia
for raising this and writing the warning in #2.
Diagnostics now say when the listed families come from an earlier scan on another device
and were never confirmed against this one. That happens when the cache syncs and the
fonts do not.
Fixed
The hidden folder warning only looked at the start of the whole path, so a folder like
assets/.fonts passed silently even though Sync skips it just the same. Every segment of
the path is checked now.
Verified on Obsidian 1.13.4, and on 1.0.3 and the latest stable across Windows, macOS,
Linux and Android.
1.0.3
Fixed
On Obsidian 1.13 the "Fonts found" heading sat in a narrow column with the family cards
alongside it. Obsidian's new settings API renders each row as a flex line, and the
diagnostics were landing in that line as a third item. The heading and the cards now
stack as they should.
Verified on Obsidian 1.13.4, and on 1.0.3 and the latest stable across Windows, macOS,
Linux and Android.
1.0.2
Fixed
™ is drawn by your text font again. The emoji font's character range covered it, so a
trademark sign in running text came out as a colour emoji glyph. Characters spelled as
emoji, with a variation selector, still come from the emoji font as before.
Docs
The README gained a screenshot of a family card, store badges, and install instructions
for the community browser.
1.0.1
First release.
Local Fonts loads fonts from a folder inside your vault and applies them to text,
interface, monospace, headings and emoji. It makes no network requests.
Family name, weight, style, script coverage and colour format are read from the font
files themselves, so filenames are irrelevant in normal use. Fonts are served through
resource URLs rather than base64, so the browser fetches only the weights a note
displays. The folder can be hidden, and .fonts is the default.
Colour emoji work per platform. Chromium renders COLRv1 and ignores OT-SVG, WebKit on
iOS renders both, so you can keep several builds of the same emoji family in the folder
and the plugin picks the right one for each device.
Settings hold seven controls. Below them, a card per family shows its weights, script
coverage and which operating systems can render it, and a Check button measures what
actually rendered on the device you are using.
Tested against Obsidian 1.0.3 and the latest stable release on Windows, macOS, Linux and
Android.
Installing
Create a local-fonts folder in your vault's .obsidian/plugins/ directory, put
main.js, manifest.json and styles.css in it, then restart Obsidian and enable the
plugin under Settings → Community plugins.