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)
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
Unknown said:Copying an old font to the a new resource file seems to revert the new resource file back to V7?
We're going back fifteen years to V7, but AFAIK the V8 font resource is identical to the V7 resource. It's there for legacy purposes. Since MicroStation V8, in 2001, we have been able to use Windows native TrueType fonts.
What do you mean by 'old font'?
Unknown said:This works fine with V8 font resources
Why use font resources, which are unique to MicroStation, when TrueType offers higher quality and commonality with other Windows applications?
Regards, Jon Summers LA Solutions
Unknown said:For Each ts As BCOM.TextStyle In tss
I'm assuming that you're writing VB.NET code for MicroStation V8i?
Unknown said: Sometimes it just takes another set of eyes to make sure mine are open
Glad I could help, if only inderectly. I recognise exactly how you feel!