Patent RU-2316814-C2 (RU)
Inventor: BRAUN DEHVID K
IPC: G06F40/00
Filed: 2003-04-03
Granted: 2008-02-10
Abstract: FIELD: font selection methods, in particular, methods which utilize markup language documents for setting one or several selection criterions. 
     SUBSTANCE: font selection method includes: receipt of code, which indicates the type of symbol requested by computer program; sending of information which is associated with region settings for keyboard, from operation system into glyph generation module for usage in font selection for indication, access to document in expandable markup language, when expandable markup language document is connected to a set of font files; detection, on basis of aforementioned sent information and expandable markup language document content, of which font of the set of fonts is required by computer program to indicate a symbol of type required by computer program, and in case when required font is inaccessible, usage of backup font, set by the expandable markup language document. To realize such a method, computer-readable carrier is provided, which stores commands for execution by computer. Method for determining which font of a set of fonts should be used in computer program includes: access to document in expandable markup language, which determines logical condition for usage of at least one font of a set of fonts; sending of information, associated with region settings for keyboard, from operation system into glyph generation module to determine logical condition for usage of at least one font of a set of fonts, detection of whether the aforementioned logical condition is fulfilled, and if logical condition is fulfilled, extraction of a glyph of at least one font, where if the logical condition is not fulfilled, usage of default font, set by expandable markup language document. For realization of given method, computer readable carrier is provided, having commands stored on it for execution by computer. Method for receiving glyphs from a set of fonts includes: sending the information associated with keyboard region settings from operation system into glyph generation module to determine the logical condition for usage during selection of one or more fonts of a set of fonts for indication, access to document in expandable markup language and to sent information, which determines logical condition for usage of first font of a set of fonts; detection of whether the aforementioned logical condition for usage of first font of a set of fonts is fulfilled; if aforementioned logical condition for usage of first font of a set of fonts is fulfilled, then extraction of one or several glyphs from first font; and if aforementioned logical condition for usage of second font of a set of fonts is fulfilled, extraction of one or several glyphs from second font, where if aforementioned logical condition for usage of first font and logical condition for second font are not fulfilled, usage of default font, set by expandable markup language document. For method for producing a glyph from a set of fonts, computer-readable carrier is provided, having commands stored on it for execution by computer. Computer-readable carrier, having text stored on it in markup language, where the text in markup language contains: data, representing region settings for keyboard, to be used during selection of fonts for indication, while region setting data for keyboard are provided by operation system to glyph generation module, a link to first font in the text in expandable markup language; the data, which represents condition, when first font should be used; scalable coefficient, which defines how the dimensions of first font should be altered, if the condition for usage of first font is fulfilled, a link to section font in the text in expandable markup language; and data which represents condition, when second font should be used. 
     EFFECT: invention allows a font developer to efficiently create international fonts with usage of several fonts existing beforehand, and may be used in distributed computing environment, when tasks are performed by remote processing devices, which are interconnected through a communication network. 
     7 cl, 3 dwg