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

[BUG] Font Support for Text Shape Tool #6

Closed
1 task done
dkneeland opened this issue Jul 12, 2024 · 3 comments
Closed
1 task done

[BUG] Font Support for Text Shape Tool #6

dkneeland opened this issue Jul 12, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@dkneeland
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When using the Text Shape Tool, the font rendering doesn't seem accurate. It seems to only render a few styles with most of the Sans fonts looking identical, just as most of the Serif fonts do. The rendering doesn't match how they look in the Fonts dropdown.

Example from BambuStudio Docker:
image

Expected Behavior

The fonts should reflect how they look in the Fonts dropdown of the Text Shape Tool.

Steps To Reproduce

  1. Import an STL
  2. Use the Text Shape Tool to embed text on the surface of the object
  3. Notice how the rendered font on the object doesn't match the font rendering in the Font dropdown. Also similar font types will look identical on the object.

Environment

- OS: Unraid 6.12.10
- How docker service was installed: Community Applications

CPU architecture

x86-64

Docker creation

Community Applications

Container logs

text  error  warn  system  array  login  


(bambu-studio:331): Gtk-CRITICAL **: 10:19:27.236: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:27.236: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:27.236: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:27.237: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:27.237: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:27.237: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:27.239: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:27.240: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:27.241: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:27.241: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:53.865: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:53.865: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:53.865: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:53.866: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:53.866: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:53.866: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:53.867: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:53.868: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:53.868: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:331): Gtk-CRITICAL **: 10:19:53.868: gtk_widget_set_size_request: assertion 'width >= -1' failed
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Font_FontMgr, warning: unable to find font 'HarmonyOS Sans SC' [bold]; 'DejaVu Sans' [aspects: regular,bold] [paths: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf;/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf] is used instead
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@dkneeland
Copy link
Author

Whelp, those logs seem to pretty clearly show the root cause.

Strange that the fonts show up in the BambuStudio dropdown list of fonts but can't be found in the OS. Could this be an issue with how the Docker was created?

@thelamer thelamer self-assigned this Jul 29, 2024
@thelamer thelamer added the bug Something isn't working label Jul 29, 2024
@thelamer
Copy link
Member

Fonts have been added

@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants