You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 2D DGN files including Korean fonts are well displayed in MicroStation and BentleyView.
However, the published BIM file from this does have the exact information about Korean fonts.
In Desktop Starter, all Korean fonts disappear or are replaced by an empty square.
Is there any special option for multilingual font support ?
Thank you for your kind response.
According to your advice, I checked the setting option related in fonts of DGN file
However, I could not find the special issue about fonts setting.
I guess the bim file published by "iTwin SnapShot" does not contain Korean True Type Fonts.
I can not find Korean True Type Fonts in SQL DB of bim file.
If I don't understand something, please let me know.
Best regards
dgn_fonts in bim file on SQLite (left) vs BentleyView (Right)
So you're using the iTwin Snapshot generator to convert the DGN file on your own computer? Then it seems unlikely to be a missing font problem. And given the Korean name of the font, it seems unlikely to be a font linking problem.
The dgn_Font table is just an ID mapping (with optional metadata). Embedded font data are stored in be_Prop. To see which fonts were successfully embedded in the BIM file, you can run:
SELECT DISTINCT json_extract(value, '$.familyName')
FROM be_Prop, json_each(StrData)
WHERE Namespace ='dgn_Font'
Was the Korean font (sorry can't copy/paste the name from an image) successfully embedded in your snapshot?
I checked "be_Prop" in bim file according to your explanation.
I used "Arial" font to express Korean Text "안녕하세요" instead of "굴림" or "맑은고딕" korean font.
In "be_Prop", Arial font is saved normally as following pictures.
However, the Korean font breaking keeps happening.
Is there any option to control font setting in imodel.js ?
Best regards
English and Korean text display with Arial Font in Bentley View
Arial Font saved in SQLite be_Prop
English and Korean text display with Arial Font in Desktop Starter
If the 2D file with Korean fonts is opened, All font are changed as "GulimChe".
However, after being published as bim file of imodel 2.0, "GulimChe" is changed as "LastResortTrueTypeFont".
And all Korean fonts are breaking in Desktop Starter.
Is there embedded converting font list in "iTwin SnapShot" ?
Arial does not contain glyphs for Korean characters, so seeing missing glyph boxes in that scenario is expected. iModel.js does not support font linking, which is how Arial appears to work in MicroStation (glyphs are getting substituted on-the-fly based on a Microsoft Windows library).
If GulimChe is installed on your system, and the DGN elements use that font for Korean characters, then the iTwin Snapshot tool and Desktop Starter should work (the Connector will embed the font, and the viewer will show it). N.B. be sure to delete any *.Tiles files next to the .bim files between creating snapshots to ensure the display is updated between conversions.
MicroStation (left) vs. Desktop Starter (right) with font linking disabled:
I see entries in both be_Prop and dgn_Font for both Arial and GulimChe.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The 2D DGN files including Korean fonts are well displayed in MicroStation and BentleyView.
However, the published BIM file from this does have the exact information about Korean fonts.
In Desktop Starter, all Korean fonts disappear or are replaced by an empty square.
Is there any special option for multilingual font support ?
Beta Was this translation helpful? Give feedback.
All reactions