mdbFontEncoding(5) The m17n Library mdbFontEncoding(5)NAME
mdbFontEncoding - Font Encoding
DESCRIPTION
The m17n library loads information about the encoding of each font form the m17n database by the tags <font, encoding>. The data is loaded
as a plist of this format.
FONT-ENCODING ::= PER-FONT *
PER-FONT ::= '(' FONT-SPEC ENCODING [ REPERTORY ] ')'
FONT-SPEC ::=
'(' [ FOUNDRY FAMILY
[ WEIGHT [ STYLE [ STRETCH [ ADSTYLE ]]]]]
REGISTRY ')'
ENCODING ::= SYMBOL
FONT-SPEC is to specify properties of a font. FOUNDRY to REGISTRY are symbols corresponding to Mfoundry to Mregistry property of a font.
See m17nFont for the meaning of each property.
For instance, this FONT-SPEC:
(nil alice0 lao iso8859-1)
should be applied to all fonts whose family name is 'alice0 lao', and registry is 'iso8859-1'.
ENCODING is a symbol representing a charset. A font matching FONT-SPEC supports all characters of the charset, and a character code is
mapped to the corresponding glyph code of the font by this charset.
REPERTORY is a symbol representing a charset or 'nil'. Omitting it is the same as specifying ENCODING as REPERTORY. If it is not 'nil', the
charset specifies the repertory of the font, i.e, which character it supports. Otherwise, whether a specific character is supported by the
font or not is asked to each font driver.
For so called Unicode fonts (registry is 'iso10646-1'), it is recommended to specify 'nil' as REPERTORY because such fonts usually supports
only a subset of Unicode characters.
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 mdbFontEncoding(5)
Check Out this Related Man Page
Fontset(3m17n) The m17n Library Fontset(3m17n)NAME
Fontset - A fontset is an object that maps a character to fonts.
Functions
MFontset * mfontset (char *name)
Return a fontset.
MSymbol mfontset_name (MFontset *fontset)
Return the name of a fontset.
MFontset * mfontset_copy (MFontset *fontset, char *name)
Make a copy of a fontset.
int mfontset_modify_entry (MFontset *fontset, MSymbol script, MSymbol language, MSymbol charset, MFont *spec, MSymbol layouter_name, int
how)
Modify the contents of a fontset.
MPlist * mfontset_lookup (MFontset *fontset, MSymbol script, MSymbol language, MSymbol charset)
Lookup a fontset.
Detailed Description
A fontset is an object that maps a character to fonts.
A fontset is an object of the type MFontset. When drawing an M-text, a fontset provides rules to select a font for each character in the
M-text according to the following information.
o The script character property of a character.
o The language text property of a character.
o The charset text property of a character.
The documentation of mdraw_text() describes how that information is used.
Author
Generated automatically by Doxygen for The m17n Library from the source code.
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 Fontset(3m17n)
Man Page
3 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Hi,
I want to know about the characters that are available in the Symbol.pfa font file. I am using freetype library to render the fonts in Windows. What encoding should I provide to get all the symbols in the Symbol font file?
It would be very helpful if i get all the characters in this... (0 Replies)
Hi,
I have two fonts installed on my AIX machine:
FONT FILE GLYPH FONT
ID NAME SIZE ENCODING
==== ============== ===== =========
0 Erg22.iso1.snf 12x30 ISO8859-1
1 Erg11.iso1.snf 8x15 ISO8859-1
I want to install more, how to obtain available fonts list ? What filesets I must install ?... (0 Replies)