![]() |
【转帖】odamfcapp - getsubstitutefont90 and getalternatefontname90
odamfcapp - getsubstitutefont() and getalternatefontname()
odamfcapp - getsubstitutefont() and getalternatefontname() when getsubstitutefont() and getalternatefontname() are called, then the findfile() gets called which then finds the file and returns the fullpath, odgitextstyle::m_sfontpath parameter in cdwgviewer::drawtext(...) is empty string or null in comparison, if getpreferablefont() is called then findfile() gets called which finds the file and returns the fullpath, odgitextstyle::m_sfontpath contains that fullpath. i overrode these methods from odamfcapp to be able to debug through them. the problem is i'm not able to get access to the fullpath returned by findfile() when getsubstitutefont() "fontalt" is used during drawtext() or textproc() any idea? thanks, codey quote: originally posted by codey the problem is i'm not able to get access to the fullpath returned by findfile() when getsubstitutefont() "fontalt" is used during drawtext() or textproc() any idea? thanks, codey it is bug in dwgdirect. setting odgitextstyle::m_sfontpath is missed in case getsubstitutefont() is used. we will fix it in next release. best regards, sergey z. |
所有的时间均为北京时间。 现在的时间是 10:38 AM. |