Get all system fonts electron js
css, electron, fonts, javascript, node.js
Solution
font-manager is a "module for Node.js providing access to the system font catalog", which seems to fit the bill.
Supported platforms:
- Mac OS X 10.5 and later supported via CoreText
- Windows 7 and later supported via DirectWrite
- Linux supported via fontconfig
Problem
I am building a desktop application using Electron. In my app I have a window that sets some user preferences such ass background color for my app.I want to be able to show a select box which will contain all system fonts.Is that possible? UPDATE My app is going to be cross platform so I would like a cross platform solution if possible