From: Hubert Figuiere (firstname.lastname@example.org)
Date: Wed Jul 31 2002 - 17:48:18 EDT
On mer, 2002-07-31 at 23:42, Tomas Frydrych wrote:
> I have made a small change to the GR_Font class that makes it
> possible to determine quickly if fonts pointed to by two GR_Font* are
> identical by comparing allocation numbers. While this does not,
> obviously, catch all cases of identical fonts, it does make it possible
> to significantly reduce the massive number of calls to win32
> SelectFontIntoDC() (to load a 45 page document that only uses Arial
> and Times New Roman of two or three different sizes each, we used
> to make over 1,000,000 calls to this function!).
> files: gr_Graphics.h/cpp, gr_Win32Graphics.cpp
Shall I backport that fix ?
This archive was generated by hypermail 2.1.4 : Wed Jul 31 2002 - 17:57:18 EDT