Skip to content

Wrong font is used #148

@olcc

Description

@olcc

Hello, [cf. https://www.klayout.de/forum/discussion/1098/problem-with-fonts-bug]

I recently learned how to build and use a custom font thanks to the documentation page: https://www.klayout.de/doc/about/basic_lib.html#h2-44

I created a font called "MY_FONT" (in file "my_font.gds") and I used it successfully in a test file ("font_test.gds"). This means that I could insert a PCell, choose my custom font from the menu, and see that the graphic display is indeed using MY_FONT, because it is clearly different from the standard font. This worked as expected.

PROBLEM:

When I reopen the file, the font is back to the standard font!

  • The PCell parameter "Font" still indicates "MY_FONT", but it is not using that font. It uses instead the standard font.
  • This looks like a bug, can you test or tell what it wrong?

Best regards,

problem_with_fonts.zip

--
Olivier (Klayout version 0.25.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions