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

(LVGL) EEZ flow: edit font definition in UI #252

Closed
2 of 3 tasks
fietser28 opened this issue May 7, 2023 · 3 comments
Closed
2 of 3 tasks

(LVGL) EEZ flow: edit font definition in UI #252

fietser28 opened this issue May 7, 2023 · 3 comments

Comments

@fietser28
Copy link
Collaborator

fietser28 commented May 7, 2023

Use case: Using a custom font I wanted to add a single symbol I didn't select during the initial definition in studio.

  • Currently it is possible to create a new font definition but it is not possible to alter the definition afterwards.
    This is especially annoying when using ranges and symbols: E.g. adding a single symbol is currently not possible.
  • The information panel currently doesn't show which ranges/symbols are used to create the font. That would be nice to.
  • Another issue I noticed: It seems the ttf font is included in the eez-project file. Although this is convenient, it also is a risk: A lot of fonts have specific copyrights. I think the inclusion should be an option and if the user can edit the font definition project can be distributed without fonts included and the user can provide/choose there own.
@mvladic
Copy link
Contributor

mvladic commented May 7, 2023

Adding single symbol is possible when the new font is created. For example, you can enter in Ranges field: 32-127,176,182,200-210

@prasimix prasimix added this to the M15 milestone May 18, 2023
mvladic added a commit that referenced this issue Jun 10, 2023
@mvladic
Copy link
Contributor

mvladic commented Jun 10, 2023

I fixed the first two issues:

  • I added edit icon in the characters list panel:

image

This will open up the form to edit Ranges and Symbols:

image

  • In the "information panel" it is now shown Ranges and Symbols:

image

For now, I would not do anything about the third issue. There is large selection of free fonts, for example from google. If someone still wants to use copyrighted font he should modify project file before publicly sharing it. If he keeps the project file private, for example inside private github repository, than there is no issue I think.

@fietser28
Copy link
Collaborator Author

First two are working. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants