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
Title | Year | Author | Number |
---|---|---|---|
DEVICE TO PROCESS IMAGES, METHOD AND COMPUTER PROGRAMME TO PROCESS IMAGES | 2008 |
|
RU2437152C2 |
WORD PROCESSING DOCUMENT, STORED AS SINGLE XML FILE, WHICH CAN BE MANIPULATED BY APPLICATIONS WHICH CAN READ XML LANGUAGE | 2003 |
|
RU2358311C2 |
MODULAR DOCUMENT FORMAT | 2004 |
|
RU2368943C2 |
SYSTEM AND METHOD OF DECLARATIVE DEFINITION AND USE OF SUBCLASSES IN MARKING | 2003 |
|
RU2347269C2 |
METHOD, SYSTEM AND COMPUTER-REDABLE MEDIUM FOR APPLYING GLOBAL FORMATTING SCHEME TO CHART IN ELECTRONIC DOCUMENT | 2005 |
|
RU2398264C2 |
PROGRAMMING INTERFACE FOR COMPUTER PLATFORM | 2004 |
|
RU2371758C2 |
METHOD, SYSTEM AND COMPUTER READABLE MEDIUM FOR CREATING AND LINKING GRAPHS IN APPLICATION PROGRAM | 2005 |
|
RU2383929C2 |
METHOD OF MANAGING DATA IN DOCUMENT CREATED BY COMPUTER AND MACHINE-READABLE MEDIUM ON WHICH PROGRAM IS RECORDED | 2007 |
|
RU2379748C2 |
PROGRAMMABLE OBJECT MODEL FOR SUPPORTING LIBRARY OF NAME OR SCHEME SPACES IN PROGRAMME APPLICATION | 2004 |
|
RU2371759C2 |
OPTIMISED FONT SUBSETTING FOR PRINT PATH | 2011 |
|
RU2583726C2 |
Authors
Dates
2008-02-10—Published
2003-04-03—Filed