.\" Copyright (C) 2001 Information-technology Promotion Agency (IPA) .\" Copyright (C) 2001-2011 .\" National Institute of Advanced Industrial Science and Technology (AIST) .\" This file is part of the m17n library documentation. .\" Permission is granted to copy, distribute and/or modify this document .\" under the terms of the GNU Free Documentation License, Version 1.2 or .\" any later version published by the Free Software Foundation; with no .\" Invariant Section, no Front-Cover Texts, .\" and no Back-Cover Texts. A copy of the license is included in the .\" appendix entitled "GNU Free Documentation License". .TH "m17nFontset" 3m17n "Mon Sep 25 2023" "Version 1.8.4" "The m17n Library" \" -*- nroff -*- .ad l .nh .SH NAME m17nFontset_\-_Fon \- \- A fontset is an object that maps a character to fonts\&. .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "\fBMFontset\fP * \fBmfontset\fP (char *name)" .br .RI "Return a fontset\&. " .ti -1c .RI "MSymbol \fBmfontset_name\fP (\fBMFontset\fP *fontset)" .br .RI "Return the name of a fontset\&. " .ti -1c .RI "\fBMFontset\fP * \fBmfontset_copy\fP (\fBMFontset\fP *fontset, char *name)" .br .RI "Make a copy of a fontset\&. " .ti -1c .RI "int \fBmfontset_modify_entry\fP (\fBMFontset\fP *fontset, MSymbol script, MSymbol language, MSymbol charset, \fBMFont\fP *spec, MSymbol layouter_name, int how)" .br .RI "Modify the contents of a fontset\&. " .ti -1c .RI "\fBMPlist\fP * \fBmfontset_lookup\fP (\fBMFontset\fP *fontset, MSymbol script, MSymbol language, MSymbol charset)" .br .RI "Lookup a fontset\&. " .in -1c .SH "Detailed Description" .PP A fontset is an object that maps a character to fonts\&. .br .PP A \fIfontset\fP is an object of the type \fCMFontset\fP\&. 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\&. .PP .PD 0 .IP "\(bu" 2 The script character property of a character\&. .IP "\(bu" 2 The language text property of a character\&. .IP "\(bu" 2 The charset text property of a character\&. .PP The documentation of \fBmdraw_text()\fP describes how that information is used\&. .br .SH "Author" .PP Generated automatically by Doxygen for The m17n Library from the source code\&. .SH COPYRIGHT Copyright (C) 2001 Information\-technology Promotion Agency (IPA) .br Copyright (C) 2001\-2011 National Institute of Advanced Industrial Science and Technology (AIST) .br Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License .