I have a question. In working on configurations here and there, I was wondering something. In some cases I have been relegated to using PCF files and not knowing why I just go along the way "they" want. I have had to make my own tweaks in my ucf to get things working right (for me). But I recently had to fix a configuration that was looking for ms_fontpath but it could not be found so Microstation exited. I looked at the users ucf and saw that it had a specific font path set so I commented it out and things worked as expected. BTW, this was happening on a different computer. Anyway, the user (and myself) wonders why his ucf works fine on his computer with the font path uncommented.
Any information is welcome
Font path is set elsewhere and not normally in the ucf file. If a user has been 'fiddling' with configs it may have written a path to the ucf file that created the issue. If you have your own location in your build, it might be an idea to lock it in your site configs or project pcf so the user can't edit it.
Answer Verified By: Marc Thomas
Dbl J D said: I recently had to fix a configuration that was looking for ms_fontpath but it could not be found so Microstation exited
That seems a rather extreme reaction on MicroStation's part.
TrueType fonts are found in a Windows known folder, and no MicroStation configuration variable is needed to find them. MS_FONTPATH is used to find other types of font. See MicroStation Help for more detail.
Read this article about debugging MicroStation configuration variables. Make sure that MS_FONTPATH is pointing to a real location (check for spelling mistakes and hard-to-spot spaces in the path definition).
Regards, Jon Summers LA Solutions
To add to the previous responses MS_FONTPATH can point to folders containing RSC, SHX, or TrueType font files. This only needs to be added to a user's configuration if there are non-standard SHX files that need to be utilised.
By default (unless modified) MS_SYMBRSRC will include any .RSC files placed in the standards or project symbology folders.
Additional Truetype fonts should be installed to Windows and will be available like any other.
Additionally, one common mistake i see with MS_FONTPATH is people putting *.rsc or *.ttf at the end of the line. Don't do that, Just point to the path and the rsc, ttf and shx files will automatically be found.
If possible I separate linestyle rsc files into one folder, and all the fonts (rsc or otherwise) into another folder. Then I point MS_SYMBRSRC at just the line styles, and use MS_FONTPATH to get all the fonts. I try to avoid pointing to the same font files twice.
Thank you everyone who took the time to give me your input. Bear's response answered my question.