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

text shape with korean font #13123

Closed
2 tasks done
mnstn opened this issue Jul 19, 2024 · 5 comments
Closed
2 tasks done

text shape with korean font #13123

mnstn opened this issue Jul 19, 2024 · 5 comments
Assignees

Comments

@mnstn
Copy link

mnstn commented Jul 19, 2024

Description of the bug

When I added text shape on a stl, there was an error about setting korean font and input korean.
After I selected korean forcedly, The sliced file was good.
The problem is I cannot open the 3mf file again.
error_popup

Project file & How to reproduce

top_plate_20181108-61-13m4lkw.zip

  1. set english font
  2. type korean to text shape
  3. change it to korean font
  4. save 3mf file and open again
    prusaslicer_korean

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

2.8-win64

Operating system

window11 pro

Printer model

prusa mk4

@Jony01
Copy link
Collaborator

Jony01 commented Aug 13, 2024

Thanks for report and Sorry.

You are right using this font creates 3mf in bad shape, which is unopenable for PrusaSlicer any more.

It is connected with encoding of wxFont descriptor, which I baddly expected that will contain only english character.
In your case it contain some not utf8 character.

Fast fix: In file top_plate_20181108-61-13m4lkw.3mf\Metadata\Slic3r_PE_model.config
attribute font_descriptor can't contain bad character
image

Manualy fixed file to be able open it:
top_plate_20181108-61-13m4lkw.zip

SPE-2442

@Jony01 Jony01 self-assigned this Aug 13, 2024
@Jony01
Copy link
Collaborator

Jony01 commented Aug 14, 2024

@mnstn could you please provide us your 'korean' font file for test

@Jony01
Copy link
Collaborator

Jony01 commented Aug 14, 2024

I create fix.
build for windows version to test it. [link]
Plese Confirm that in this version is possible to store text written in 'korean' fonts and re-open the new created 3mf file.
I am sorry, I can't add option to open of previous created 3mf. (it must be manually fixed)

@lukasmatena
Copy link
Collaborator

Fixed in 2.8.1-rc1. Closing.

@lukasmatena
Copy link
Collaborator

Fixed in 2.8.1-rc1. Closing.

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

No branches or pull requests

3 participants