GithubHelp home page GithubHelp logo

electron-font-manager's Introduction

Hello! I'm Shelley.

Eng Stuff @ Work:

  • Working as a core engineer on Electron.js :electron: via Microsoft
  • Working with the Cross Project Council as a Voting Member for Electron to help oversee the technical governance of all OpenJS Projects and Working Groups under the OpenJS Foundation.
  • Working on Node.js:
    • As a Core Collaborator.
    • As a Releaser.
  • Automating literally all the things ๐Ÿค–

Eng Stuff Not @ Work:

  • Messing around with native Node.js addons - particularly ones that tie together JavaScript and funky macOS functionality.
  • Helping organize QueerJS - a meetup for everyone where Queer speakers take the stage.

Not @ Work: ๐Ÿƒ๐Ÿปโ€โ™€๏ธ - ๐Ÿ“– - ๐ŸŽถ - ๐Ÿ - ๐ŸŒ - ๐Ÿšฒ - ๐ŸŒฟ

I'm @codebytere everywhere - find me on twitter, codebyte.re, dev.to, etc!

electron-font-manager's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

electron-font-manager's Issues

Installing Fonts

Hi Shelley,

Do you have any plans to implement the ability to install fonts into a system using this package?

Thanks!

Is there any additional requirements for setting up on M1 Mac?

Hello. I got this error.

../node_modules/electron-font-manager/build/Release/font_manager.node
Module parse failed: Unexpected character '๏ฟฝ' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)

Environment

  • M1 Mac
  • version 12.5
  • node version v16.4.0
const { getAvailableFonts } = require("electron-font-manager");

const fonts = getAvailableFonts();
console.log("fonts", fonts);

I'm trying to use this library for my electron project. But it is not working because of that error.
Thank you.

Module did not self-register in windows

Code:

app.whenReady().then(() => {
  createWindow()

  require('electron-font-manager').getAvailableFontFamilies().then(list => {
    console.log(list)
  })
})

image

image

Windows version: Windows 10 21H1

Font dialog support

Support for native font dialogs. While there is some macOS and GTK support to show a dialog, at the least this should support passing in the default font and getting the selected font back.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.