View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031719 | Community | OCCT:Visualization | public | 2020-08-19 18:09 | 2020-09-14 10:55 |
Reporter | Vico Liang | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | duplicate | ||
Product Version | 7.4.0 | ||||
Target Version | 7.5.0 | ||||
Summary | 0031719: no default Chinese Unicode support | ||||
Description | Graphic3d_Text has issue when drawing Chinese unicode text.It will draw a placeholder rectangle. Is it possible to draw unicode such as Chinese for any font selected? It's difficult to know which font should be used in program. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Please be more specific on use case: - Text example. - System (including version). - Warnings/errors emitted by Font Manager (consider enabling logging Trace (Message_Trace) messages in addition to defaults). Here is a Draw Harness sample from 0030782: pload MODELING VISUALIZATION dtracelevel trace vfont -verbose 1 vinit View1 vtop vpoint p00 0 0 0;vpoint p01 0 10 0;vpoint p11 10 10 0;vpoint p10 10 0 0 vfit vzoom 0.8 vdrawtext t2 "简体中文 (Chinese)" -pos 0 2 0 -halign left -font cjk vdrawtext t3 "简体中文 (Chinese)" -pos 10 3 0 -halign right -font sans Application may specify font explicitly, based on its knowledge of properties of system fonts or with help of extra fonts shipped with application itself. OCCT defines several fallback fonts for CJK glyphs (as Western fonts usually do not provide CJK glyphs and specialized CJK fonts has poor support of Western subset), but as OCCT doesn't ship any fonts, the availability of these specific fonts depends on a system. Fallback list could be extended to handle new / changed systems considering new fonts coming with the system. Another alternative is probing all system fonts for available UNICODE subsets in case of absence of predefined one, but picking an arbitrary font might be not good. |
|
It works well if the font is selected correctly. I see the fallback solution for such Unicode, i thought it would work.In most cases, the font is available and the problem might be the fallback not working. |
|
Dear bugmaster, please close as duplicate of 0031720. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-08-19 18:09 | Vico Liang | New Issue | |
2020-08-19 18:09 | Vico Liang | Assigned To | => kgv |
2020-08-19 19:01 | kgv | Relationship added | related to 0030782 |
2020-08-19 19:12 | kgv | Note Added: 0093553 | |
2020-08-19 19:13 | kgv | Assigned To | kgv => Vico Liang |
2020-08-19 19:13 | kgv | Status | new => feedback |
2020-08-19 20:20 | kgv | Relationship added | duplicate of 0031720 |
2020-08-19 20:21 | Vico Liang | Note Added: 0093554 | |
2020-08-19 20:22 | Vico Liang | Note Edited: 0093554 | |
2020-08-20 11:20 | Vico Liang | Assigned To | Vico Liang => kgv |
2020-08-31 15:21 | kgv | Note Added: 0093765 | |
2020-08-31 15:21 | kgv | Assigned To | kgv => bugmaster |
2020-08-31 15:21 | kgv | Resolution | open => duplicate |
2020-08-31 15:21 | kgv | Product Version | => 7.4.0 |
2020-09-14 10:55 | bugmaster | Status | feedback => closed |