[Webkit-unassigned] [Bug 21811] REGRESSION: Windows Build Not Selecting Proper Font

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 22 15:58:51 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21811





------- Comment #3 from hyatt at apple.com  2008-10-22 15:58 PDT -------
The old code I wrote had this:

346                 HFONT hfont = CreateFontIndirect(&winfont); 
347                 // Windows will always give us a valid pointer here, even
if the face name is non-existent.  We have to double-check 
348                 // and see if the family name was really used. 
349                 HDC dc = GetDC(0); 
350                 SaveDC(dc); 
351                 SelectObject(dc, hfont); 
352                 WCHAR name[LF_FACESIZE]; 
353                 GetTextFace(dc, LF_FACESIZE, name); 
354                 RestoreDC(dc, -1); 
355                 ReleaseDC(0, dc); 
356              

That's missing now I think.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list