The information in this article applies to:
SUMMARYSome Microsoft Active Accessibility applications need to be able to turn off support for glyph index fonts at the display-driver level. MORE INFORMATION
The Active Accessibility application might have created a "wrapper" DLL to
intercept function calls to and from the operating system and the display
system driver(s).
The TechniqueIn your "wrapper" DLL's Enable() routine, perform a bitwise AND of the dpCaps1 field of the display driver's GDIINFO with the inverse of C1_GLYPH_INDEX (0x0100). Then pass the altered GDIINFO to the operating system when returning from the Enable() call to the display driver. This tells GDI that the driver does not support glyph index fonts, so GDI will not try to use them.The CaveatsMany international versions of the Windows 95 or Windows 98 operating systems use glyph index fonts exclusively, converting raster fonts to glyph index fonts as described in the following article in the Microsoft Knowledge Base:Q180575 INFO: Raster Fonts Converted to Glyph Fonts in Hebrew Win95If you use the technique above to implement your Active Accessibility application, your application will not function on many internationally localized versions of the Windows 95 or Windows 98 operating systems. Microsoft Development is aware of this limitation and is working on a global solution. REFERENCES
Microsoft Active Accessibility SDK Additional query words:
Keywords : kbAAcc |
Last Reviewed: January 10, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |