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

Unable to load fonts via FontAtlas #45

Open
trapazza opened this issue Feb 6, 2023 · 0 comments
Open

Unable to load fonts via FontAtlas #45

trapazza opened this issue Feb 6, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@trapazza
Copy link

trapazza commented Feb 6, 2023

Hi there.

I'm trying to add a font using the font atlas, but it doesn't work.
To do this I'm following these steps:

  • Download a monospace font from Google Fonts to some data folder in Assets.
  • In Unity, open font generator (Window->TextMeshPro->FontAssetCreator).
  • In the Font Asset Creator, I set some parameters and generate the font:
    image
  • Click on "Save as..." and store the asset in my StreamingAssets folder.
  • Add the font asset to the FontAtlasConfigAsset:
    image
  • Make sure the atlas is set in the UImGui script.
    image
  • Run the application, no ImGui menus or windows appear, and get this error message:
    image

Could anyone help me please?

@trapazza trapazza added the bug Something isn't working label Feb 6, 2023
@trapazza trapazza changed the title Docking and new Columns interface support Unable to load fonts via FontAtlas Feb 6, 2023
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
None yet
Development

No branches or pull requests

2 participants