Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Possible root causes and solutions

...

This could be the specific font is not found.

  1. Set A3DRWParamsPmiData::m_bAlwaysSubstituteFont to true. And

  2. Set A3DRWParamsPmiData::m_pcSubstitutionFont to a specific font. For example, for Japanese characters, you can set "Yu Gothic".

  3. The font name is written in C:\Windows\Fonts

  4. Image Removed

    If the font is not installed in the system directory. You should set the font path to A3DRWParamsPmiData::m_ppcProprietaryFontDirectories and path array size A3DRWParamsPmiData::m_uiProprietaryFontDirectoriesSize

...

This font is only installed for a single user.

  1. Fonts installed on windows for a single user end up in a hidden user directory and they show up when boarding Windows/Fonts even though the file is not located there.

  2. Try install the font for all users.

  3. Image Removed

Last but not least, you need to restart the application or reopen the project (visual studio).

...

For more information on solutions and causes, check out our forum post.