Skip to main content
Oct 4, 2024 5:21 AM UTC
Acknowledged

Need a toolkit API to get the Mixed Font Names for the String

Related products:Creo Parametric

1. Describe the Problem

ProTextStyleFontGet() returns PRO_TK_GENERAL_ERROR, if the text is having a mixed font.

If Creo-Parametric allows you to set the Font on individual characters, then there should be an API to read the Fonts for each characters or at least by grouping the characters of Mixed fonts. 


2. Are you using a workaround?
No, there is no workaround to get the mixed font from the text style.

3. What is the use case for your organization?
We are reading the Font of the Text and applying the same font to the text in our application, so that user see the correct Text style in our application

4. What impact does this problem currently have on your organization?
Since there is no API to retrieve the Mixed font name of individual characters, Mixed font text strings are rendered using single Font which creates inconsistency with Creo Parametric visualization

1 reply

Community Manager
Oct 4, 2024 10:00 AM UTC
Status changed to: Acknowledged

Thank you @Praveen2 for your idea. Based on the information you provided, we are acknowledging it as the Community management team. This is not a commitment from the Product team. Other users may comment and vote your idea up.