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

Font Selector Window with preview and search functionality #33

Closed
t-paul opened this issue Feb 13, 2021 · 4 comments
Closed

Font Selector Window with preview and search functionality #33

t-paul opened this issue Feb 13, 2021 · 4 comments

Comments

@t-paul
Copy link
Member

t-paul commented Feb 13, 2021

Outline

OpenSCAD supports extracting geometry of text based on fonts installed on the system. The existing font list gives an overview of what fonts are installed, but does not provide further help to select fonts. An improved selection window could improve the user experience by giving the user a preview of some sample text and more ways for selecting a font.

Details

  • The current font list is implemented as dialog, this should be changed to a dockable window similar to the console
  • Preview area should allow the user to enter some (limited) text which is then rendered in either a selectable size or maybe in multiple sizes
  • Allow font selection by character, this will allow the user to find fonts that support specific unicode codepoints (e.g. for emoji)
  • Select by font name + drag & drop to the editor - keep the feature of the existing font dialog

Expected Outcome

The font selection dialog is replaced with a dockable font selection window with extra functionality.

Project Properties

Skills

  • Programming language is C++
  • GUI programming with the Qt framework

Difficulty

Medium

Additional Information

@sky3760000
Copy link

Hi ,
I'm interested in this project ,please guide me through.

@t-paul
Copy link
Member Author

t-paul commented Mar 24, 2021

@sky3760000 please see Getting Started

@aykalkan
Copy link

aykalkan commented Apr 1, 2021

I've built OpenSCAD from source files. I'm trying to increase my familiarity with it. Where exactly font list appear when we try to extrude a text? There is only a font parameter given to a text object as I see. I can only preview font of the text when I hit F5.

@t-paul
Copy link
Member Author

t-paul commented Apr 1, 2021

Correct, that's one of the things this change would make possible - preview how a font looks in the GUI without having to use text() in a script and execute that script.
So the focus is on GUI only, changing the dialog that is displayed with Help->Font List menu entry to dockable window like the Console, or Error Log. This window should then have the additional features listed in the project description in addition to what the existing dialog does.

@t-paul t-paul removed the GSoC 2021 label Jan 16, 2022
@t-paul t-paul closed this as completed Feb 7, 2022
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