Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [CONNECT C++] Question about FontMaps

$
0
0

Hi Bruce,

The issue with using CreateUsedFontList() is reproducible, this method is processing all system TTF and AutoCAD SHX Fonts, but MicroStation RSC fonts are missing.

A defect # 720528 is filed to address this issue.

[quote user="Bruce Reeves SRNS"]What I am interest in is the list of all resource fonts CURRENTLY used in the active model[/quote]

For this task the method CreateUsedFontList() may not be of best value, as this returns also fonts ever selected for use within this DGN.
So this list may also contains fonts, which are no longer in use.

[quote user="Bruce Reeves SRNS"]I did test using CreateKnownFontList() and looping thru it, testing each entry for IsValid(). [/quote]

I tested this and see all available fonts as valid, so this could not be used as indicator for "isUsed". 

A test using CreateKnownFontList() and IsValid() is available here

Best regards,
Artur


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>