![]() |
【转帖】font searching algorithm
font searching algorithm
font searching algorithm hi, i've noticed, that oddbtextstyletable::setfont witch font name "arial" calls indirectly findfile twice; first with "arial", next with "arial.shx". is it correct? can i make library not call setfont second time with ".shx" added? tia best regards, michał Śliwka if findfile() returns some path being called for the first time it will not be called second time. in situation you described probably it fails to find "arial" so it's called for the second time with "arial.shx". also chapter "font handling" from dd developer's guide" could be usefull. sergey slezkin findfile() returns correct path and it is called second time. |
所有的时间均为北京时间。 现在的时间是 03:13 PM. |