![]() |
【转帖】a question about oddbmtextcontents90
a question about oddbmtext::contents()
a question about oddbmtext::contents() hi, i used oddbmtext::contents() to get mtext entity's the character contents. in the attached dwg file, there are some mtext entity's which character contents is not same as the display, such as a mtext entity's character contents is "45?nom", but the display is "45°nom". why? attached images not all fonts (code pages) have degree symbol (unicode 00b0). if font used to dispay the string is wrong you may see garbage or '?' symbol. btw, on my computer (ansi1251) i see degree symbol correctly (in both odamfcapp or vc debugger). sergey slezkin quote: originally posted by sergey slezkin not all fonts (code pages) have degree symbol (unicode 00b0). if font used to dispay the string is wrong you may see garbage or '?' symbol. btw, on my computer (ansi1251) i see degree symbol correctly (in both odamfcapp or vc debugger). hi, thanks! how can i solve this problem? i'm not sure what do you mean by problem. contents() returns text string stored in the file. this string contains "b0" character. this character has different appearence in different fonts. to display it correctly the correct font should be used. sergey slezkin quote: originally posted by sergey slezkin i'm not sure what do you mean by problem. contents() returns text string stored in the file. this string contains "b0" character. this character has different appearence in different fonts. to display it correctly the correct font should be used. thanks, i read it correctly in window's english version. |
所有的时间均为北京时间。 现在的时间是 01:03 PM. |