# FAQ : Why is the PMI text displayed incorrectly (square)?

**URL:** <https://forum.techsoft3d.com/t/faq-why-is-the-pmi-text-displayed-incorrectly-square/1442>\
**Category:** HOOPS Exchange\
**Tags:** knowledge-base, faq, import, export\
**Created:** [October 21, 2021, 4:00am UTC](https://forum.techsoft3d.com/t/faq-why-is-the-pmi-text-displayed-incorrectly-square/1442 "2021-10-21T04:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabriel.peragine](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/gabriel.peragine/32/1535_2.png) [@gabriel.peragine](https://forum.techsoft3d.com/u/gabriel.peragine)\
**Post date:** [October 21, 2021, 4:00am UTC](https://forum.techsoft3d.com/t/faq-why-is-the-pmi-text-displayed-incorrectly-square/1442/1 "2021-10-21T04:00:00Z")

</div>

## Problem

When importing a CAD file with PMI (non-ASCII characters), the text becomes square when viewed in the HOOPS Demo Viewer.

 ![image-20211102-100327](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/9bf22b69142eed798d5a8e3640b28289f79f892e.png)

## Possible root causes and solutions

1. This could be the specific font is not found.  
a. Set `A3DRWParamsPmiData::m_bAlwaysSubstituteFont` to true. And  
b. Set `A3DRWParamsPmiData::m_pcSubstitutionFont` to a specific font. For example, for Japanese characters, you can set “Yu Gothic”.  
c. The font name is written in C:\Windows\Fonts

 ![image-20211102-094946](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/4d59ff5b39d27dd1216af9e9058ae61b4a285ea9.png)

d. 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`

1. This font is only installed for a single user.  
a. 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.  
b. Try install the font for all users.

 ![image (13)](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/7d9f059c8c80759f7c271c5c7b54cfb837ae13be.png)

1. Last but not least, you need to restart the application or reopen the project (visual studio).  
a. Sometimes, some software tends to cache the system environment, including paths and fonts
