![]() |
【转帖】gdi leak with ttf-fonts
gdi leak with ttf-fonts
gdi leak with ttf-fonts hi, i have a gdi leak with ttf-fonts by reading files without drawing. in my guess the problem is in oddbfontservice - by reading the file oddbfontservice create for each ttf-font a dc and for this dc a font handle. - by closing the file the dc will be released but the font-handle will be selected and will not destroyed more information: - version dwgdirect 2.2.0.0 for windows - use the attached dxf-file with two different ttf-fonts - i try it with the program odreadex - set breakpoint to svcs.readfile and oduninitialize(); - look for gdi ?handle with gdiindicator.exe - do the step readfile - look for gdi ?handle with gdiindicator.exe 2 new dc and fonts - do the step oduninitialize - look for gdi ?handle with gdiindicator.exe the dc are released but the fonts exits i hope you can find the problem regard attached files hi koesters, it is really bug dwgdirect. we are able to reproduce it. it will be fixed in next release.thank you for so detail description. best regards, sergey z. |
所有的时间均为北京时间。 现在的时间是 09:05 AM. |