Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable font for displaying notes #212

Open
martinstoeckli opened this issue Mar 22, 2023 · 1 comment
Open

Configurable font for displaying notes #212

martinstoeckli opened this issue Mar 22, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@martinstoeckli
Copy link
Owner

There was a user request to be able to choose a custom font for displaying the notes. The request was about the note content and would not include the GUI (menu, dialogs).

Using a standard font which is available on all platforms has its advantages, e.g. similar looking notes on different devices, but the notes are structured by content (title, paragraph, list) anyway, and different display sizes will result in different looking notes. There is no reason against offering a custom font in the settings.

Since not all devices offer the same fonts, this setting would be made individually for each device and is not shared together with the notes.

@martinstoeckli martinstoeckli added the enhancement New feature or request label Mar 22, 2023
@martinstoeckli martinstoeckli self-assigned this Mar 22, 2023
@martinstoeckli
Copy link
Owner Author

It seems that there is no easy way to get a list of font-families on Android, which could be used by the editor CSS. From Android v10 upwards, there exists a new API SystemFonts.getAvailableFonts() to list installed fonts, but it just lists all ttf files. Grouping them to the correct font-family (several ttf files can represent different variations of the same font) and extracting the font-name seems to be guesswork and therefore not a solid solution, at least I didn't find an obvious way. Found other projects with similar problems.

We leave this issue open, and as soon as we can find a way to solve the font listing problem on Android, it will be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant