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

Difference between v7 and v8 font.rsc

$
0
0

We have developed a drawing setup Addin that copies text styles from our standard dgnlibs and then scales up the styles based on a user selected scale factor. This is being done for projects that do not want annotative scales.

 This is the vb code that accomplishes that task:

                    For Each ts As BCOM.TextStyle In tss

                        If ts.IsFromLibrary Then

                            newTextStyles.Add(New textStyleInfo(ts.Name, ts.Height, ts.Width))

                        End If

                    Next

 

                    For Each t As textStyleInfo In newTextStyles

                        CreateTextStyle(t.name, t.height * My.Settings.ScaleFactor, t.width * My.Settings.ScaleFactor)

                    Next

 This works fine with V8 font resources, but our problem is that if a pre-V8 font.rsc is located in the folder pointed to by the MS_SYMBRSRC variable, the styles do not scale up. Copying an old font to the a new resource file seems to revert the new resource file back to V7?

 Has anyone experienced something like this or have any advice or guidance? Any help is greatly appreciated.


Thank you


Viewing all articles
Browse latest Browse all 7260

Trending Articles