Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XContextDependentDrawing − get a hint about context dependencies in the text of the locale. 

Synopsis

Bool XContextDependentDrawing(font_set)

   XFontSet font_set;

Arguments

font_setSpecifies the font set. 

Availability

Release 5 and later. 

Description

If XContextDependentDrawing() returns True, then text in the locale of the specified font set may contain context dependencies.  If it returns False, then text drawn with the font set does not contain context dependencies.  When text contains context dependencies, a character may be rendered with different glyphs in different locations in the string, a single character may be rendered with multiple font glyphs, and multiple characters may be rendered with a single glyph.  When there are context dependencies, drawing the characters of a string indivdually may have different results than drawing the string with a single call to one of the internationalized text drawing functions.  When changing or inserting characters into an already drawn string, the characters surrounding the change may also need to be redrawn. 

See Also

XCreateFontSet(), XExtentsOfFontSet(), XFontsOfFontSet(),
XLocaleOfFontSet(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026