fontDir

external fun fontDir(): ERROR CLASS: Symbol not found for js.promise.Promise<kotlin/String>(source)

Returns the path to the user's font directory.

Platform-specific

  • Linux: Resolves to $XDG_DATA_HOME/fonts or $HOME/.local/share/fonts.

  • macOS: Resolves to $HOME/Library/Fonts.

  • Windows: Not supported.

Since

1.0.0