![]() |
【转帖】wo Problems For Dwgdirect 2.04.2
two problems for dwgdirect 2.04.2
two problems for dwgdirect 2.04.2 1. oddbmtext::linebreak() should return "\p",but currently,it return "\p". this may cause oddbmtext massed. 2. when call to oddbentity::setdatabasedefaults,entity will use default property of database. so for oddbtext, it should use all information include in oddbtextstyletablerecord that id return from oddbdatabase::gettextstyle(). but currently, oddbtext doesn't auto use this default setting. quote: originally posted by lab_zj 1. oddbmtext::linebreak() should return "\p",but currently,it return "\p". this may cause oddbmtext massed. here is arx reference: "static const achar * const linebreak(); this static member function returns the string "\p". " and "static const achar * const paragraphbreak(); this static member function returns the string "\p". " quote: originally posted by lab_zj 2. when call to oddbentity::setdatabasedefaults,entity will use default property of database. so for oddbtext, it should use all information include in oddbtextstyletablerecord that id return from oddbdatabase::gettextstyle(). but currently, oddbtext doesn't auto use this default setting. text size and text style are set for oddbtext from textsize() and textstyle() database variables. others property (sush as obliquing, width factor) has default value and it aren't set from default text style. object arx creates text entity by this way. best regards, sergey z. thanks for reply. i have done full test for oddbtext's creation,and most of you said is right, that's my fault. i'm sorry. but by default,oddbtext entity only use "standard" style, and not database's default textstyle. because my database's default style isn't "standard". hello lab_zj, i am sorry. where is bug in dwgdirect (setting text style and size). we will fix it in next release. thank you for report. best regards, sergey z. |
所有的时间均为北京时间。 现在的时间是 12:06 AM. |