Scroll to navigation

XCreateFontSet(3X11) XLIB FUNCTIONS XCreateFontSet(3X11)

̾??

XCreateFontSet, XFreeFontSet - ???ݲ?ʸ??????ɽ?????뤿???Υե????ȥ??åȤ???????????????

????

XFontSet XCreateFontSet(display, base_font_name_list, missing_charset_list_return,
missing_charset_count_return, def_string_return)
Display *display;
char *base_font_name_list;
char ***missing_charset_list_return;
int *missing_charset_count_return;
char **def_string_return;

void XFreeFontSet(display, font_set)
Display *display;
XFontSet font_set;

??????

X ?????Фؤ???³?????ꤹ?롣
?١????ե?????̾?????ꤹ?롣
¸?ߤ??ʤ?ʸ?????????Ф??????褵????ʸ???????֤????롣
?ե????ȥ??åȤ????ꤹ?롣
¸?ߤ??ʤ?ʸ???????ο????֤????롣
¸?ߤ??ʤ?ʸ?????礬?֤????롣

????

?ؿ? XCreateFontSet ?ϡ????ꤵ?줿?ǥ????ץ쥤???Ф??ƥե????ȥ??åȤ????????롣 ?ե????ȥ??åȤ? XCreateFontSet ???ƤФ줿?????Υ????????˴?Ϣ?դ??????롣 ???Υե????ȥ??åȤϡ??????ʹߤδؿ??ƤӽФ??ǻ??Ѥ??졢?ե????Ȥ? ?????饯???ξ????μ??????ƥ????Ȥ??????Τ????˻Ȥ????롣 ????????ư???ϥե????ȥ??åȤΥ????????˴??Ť??ƹԤ????롣

?????? base_font_name_list ?ϥ١????ե?????̾?Υꥹ?ȤǤ??롣?????? Xlib ????????????ɬ?פʥե????ȥ????ɤ??뤿?????Ѥ??????롣 ?١????ե?????̾?ϥ????޶??ڤ??Υꥹ?ȤǤ??롣 ?ޤ?????ü?? NULL ʸ???ǡ??ۥ??ȥݡ????֥?ʸ?????󥳡??ǥ??󥰤?ʸ???? ?Ǥ????Ȳ??ꤵ???롣 ?????Ǥʤ??????μ¹Է??̤ϼ?????¸?Ǥ??롣 ?????ޤ?ľ??ľ???ζ?????̵?뤵???롣

XLFD ?ե?????̾???Ѥ????С?Xlib ??¿???Υ?????????ɬ?פʥե????Ȥ????? ?????ݤˡ??????????˰?¸???ʤ?ñ?ȤΥ١????ե?????̾?????ѤǤ????褦?? ?ʤ롣 ????ñ?ȤΥ١????ե?????̾?ϡ??ե????ȤΥե??ߥ??򼨤??٤??Ǥ??롣 ?????Ƥ??Υե??ߥ??Υ????Фϡ??Ȥ????Ȥ?????????????ɬ?פ??͡??? ʸ???????ǥ??󥳡??ɤ????Ƥ????٤??Ǥ??롣

XLFD ?١????ե?????̾?ϥ??????????Ф???ɬ?פʡ?????ʸ????????????Ū?? ???????Ȥ??Ǥ??롣 ?????ˤ??ꡢ???????뤬ɬ?פȤ???ʸ???????ǻȤ????Τʥե????Ȥ??? ?ե????????????????˹Ԥä????֤ǻ??ꤹ?뤳?Ȥ??Ǥ??롣

?١????ե?????̾?? XLFD ̾?Ǥʤ????硢Xlib ?Ϥ??Υե????Ȥ? ?ե?????°?????? XLFD ̾?????褦?Ȥ??롣 ???? XLFD ̾?μ??????????????С??ؿ? XBaseFontNameListOfFontSet ?ϥ??饤?????Ȥ?Ϳ?????줿̾???????????ˡ????? XLFD ̾???֤???

Xlib ??

XFontSet ?ǥƥ????Ȥ?ɽ???????ݤ˻Ȥ??ե????Ȥ????򤹤뤿???Υ??르?ꥺ???? ?????̤??Ǥ??롣 ???????뤬ɬ?פȤ??뤽?줾????ʸ???????????뤿?ᡢ?١????ե?????̾?Υ? ???Ȥ򸡺??????ʲ??ξ????Τ????????Ф?¸?ߤ????ե????Ȥ??Ȥ??ؤ??ǽ??? ???Τ򸫤Ĥ??롣

  • CharSetRegistry ?? CharSetEncoding ?ե??????ɤ˴ؤ??ơ?ɬ?פ?ʸ?????礢?뤤??ɬ?פ?ʸ???????? ?????ѡ????åȤ򼨤???XLFD ?????????ǽ??Υ١????ե?????̾?? ?????Ǥϡ????ꤷ??ʸ?????礬ɬ?פ?ʸ???????Υ????ѡ????åȤǤ????١??? ?ե?????̾?????Ѥ??롣???????Ȥ??ơ?ASCII ʸ?????????Ф??? ISO-8859-1 ?ե????Ȥ??󤲤????롣
  • ?ƥޥåԥ󥰤???ɬ?פ?ʸ???????򥵥ݡ??ȤǤ???1?İʾ???ʸ?????????ؤ??? 1?İʾ???XLFD?????????١????ե?????̾?ν??硣 Xlib ?μ????Ǥ?ɬ?פ?ʸ?????礫??1?İʾ???¾??ʸ???????ؤΥޥåԥ󥰤? ǧ???????ޥåԥ󥰤???????ʸ?????????Ф????ե????Ȥ??Ȥ????Ȥ??Ǥ??롣 ?㤨?С?JIS Roman ?? ASCII ?Υ??????ȥХå??????å??????ߵ????? ?????С??С????֤??????????ΤǤ??롣 JIS Roman ?ե????Ȥ????ѤǤ??ʤ????硢Xlib ?Ϥ???ʸ???????򥵥ݡ??Ȥ? ?뤿?ᡢ ISO8859-1 ???????ɤ??뤳?Ȥ??Ǥ??롣
  • XLFD?????Υե?????̾????XLFD?Υե?????̾?Τ?????XLFD?ե?????̾?????뤳 ?Ȥ??Ǥ???(XLFD ?ե?????̾?? CharSetRegistry ?ե??????ɤ? CharSetEncoding ?ե??????ɤ??֤???????)ɬ?פ?ʸ???????ȷ??ӤĤ??뤳?Ȥ??Ǥ????ǽ??Τ? ?Ρ? 1 ?ξ????ˤϡ?ɬ?פ?ʸ???????Υ????ѡ????åȤǤ???ʸ?????????Ȥ??????? ???롣
  • ??????¸????ˡ?ǡ?ʸ???????Υ??᡼??ʸ???򥵥ݡ??Ȥ???1?İʾ??Υե??? ?Ȥ˥ޥåԥ󥰤Ǥ????ǽ??Υե?????̾??

?㤨?С????????????뤬????ʸ????????ɬ?פȤ????ȹͤ??롣

ISO8859-1
JISX0208.1983
JISX0201.1976
GB2312-1980.0


?桼????????Ū??ʸ???????????ꤹ?? base_font_name_list ??Ϳ???뤳?Ȥ? ?Ǥ??롣???ξ??硢???ꤷ???ե????Ȥ?¸?ߤ????лȤ????뤳?Ȥ??ݾڤ????롣 ??:

"-JIS-Fixed-Medium-R-Normal--26-180-100-100-C-240-JISX0208.1983-0,-JIS-Fixed-Medium-R-Normal--26-180-100-100-C-120-JISX0201.1976-0,-GB-Fixed-Medium-R-Normal--26-180-100-100-C-240-GB2312-1980.0,-Adobe-Courier-Bold-R-Normal--25-180-75-75-M-150-ISO8859-1"


???????ˡ?ʸ??????????ά???? base_font_name_list ??Ϳ???뤳?Ȥ??Ǥ??? ???ξ????? Xlib ?ϥ??????뤬ɬ?פȤ???ʸ???????Υե????Ȥ????򤹤롣 ??:

"-JIS-Fixed-Medium-R-Normal--26-180-100-100-C-240,-JIS-Fixed-Medium-R-Normal--26-180-100-100-C-120,-GB-Fixed-Medium-R-Normal--26-180-100-100-C-240,-Adobe-Courier-Bold-R-Normal--25-180-100-100-M-150"


???????ˡ?Xlib ?????Ѳ?ǽ?? XLFD ?ץ??ѥƥ??κǾ??¤??׵??????????ե? ???Ȥ????Ƥ????????????Ԥ????褦?ˡ??桼????ñ??ñ???Υ١????ե?????̾ ??Ϳ???뤳?Ȥ??Ǥ??롣 ??:

"-*-*-*-R-Normal--*-180-100-100-*-*"


?⤷????ʬ?ʥ????꤬?ʤ????????ߤΥ??????뤬???ݡ??Ȥ????Ƥ??ʤ??????? XCreateFontSet ???ե????ȥ??åȤ????????뤳?Ȥ??Ǥ??ʤ????С? XCreateFontSet ?? NULL ???֤???missing_charset_list_return ?ˤ? NULL ?????ꤵ?졢 missing_charset_count_return ?ˤ? 0 ?????ꤵ???롣 ???ߤΥ??????뤬ɬ?פȤ??????Ƥ?ʸ?????????Ф??ƥե????Ȥ?¸?ߤ??????硢 XCreateFontSet ???????? XFontSet ???֤???missing_charset_list_return ?ˤ? NULL ?????ꤵ?졢 missing_charset_count_return ?ˤ? 0 ?????ꤵ???롣

ɬ?פʥե????ȥ??åȤ?1?İʾ夬¸?ߤ??ʤ????硢 XCreateFontSet ?? missing_charset_list_return ?˥ե????Ȥ?¸?ߤ??ʤ?ʸ????????̾??(NULL ?ǽ???)?Υꥹ?Ȥ????ꤷ?? missing_charset_count_return ??­???ʤ??ե????Ȥο??????ꤹ?롣 ????ʸ???????ϥ????????Υ??󥳡??ǥ??󥰤?ɬ?פ?ʸ???????Υꥹ?Ȥ????? ?????롣 ????????Xlib ???׵ᤵ?줿ʸ?????????ƥޥåԥ󥰤Ǥ????褦??ʸ???????? ?ޤޤʤ???

ɬ?פ?ʸ?????礬????????¸?ߤ??ʤ????礫??Xlib ?ǤΥ????????????ǡ??? ????????ʸ?????????Ф???ɬ?פʤϤ??Υե????Ȥ????Ĥ????ʤ??????ϡ? XCreateFontSet ?? NULL ???֤??? ?????Ǥʤ??????ˤϡ? XCreateFontSet ?? font_set ???????? XFontSet ???֤???

Xmb/Xwc ?Ϥ????????׻??δؿ????ƤӽФ??줿???? XFontSet ??­???ʤ?ʸ?????礬???ä??????ϡ????Υ?????????ʸ???Τ????Ĥ????????? ???ʤ??? def_string_return ?? NULL ?Ǥʤ????С? ???ѤǤ????ե????Ȥ?ʸ?????礬?????륳???ɤ?ʸ???????褹???Τ?ɬ?פ??? ?ƤΥ????դ??ޤ??Ǥ??ʤ????? XCreateFontSet ?Ϥ??? XFontSet ?????褵???륰???դ?ɽ??ʸ?????ؤΥݥ??󥿤??֤??? ʸ??????ɬ?????⸽?ߤΥ???????????????ʸ???ǹ????????Ƥ????櫓?ǤϤʤ??? ?ե????ȥ??åȤ??Ф???ɬ???????ɤ??줿?ե????Ȥ????褵?????櫓?Ǥ??ʤ? ???????饤?????ȤϤ???ʸ?????? XFontSet ?????褢?뤤?Ϸ׻???????ʸ?????˴ޤ??뤳?Ȥˤ??äƥǥե????ȤΥ????դ? ???褢?뤤?Ϸ׻????뤳?Ȥ??Ǥ??롣

def_string_return ???֤?????ʸ???󤬶?ʸ????("")?ʤ??С????Υ????դ? ???褵?줺??ʸ???????????? 0 ?Ǥ??롣 ?֤?????ʸ?????ϡ?NULL ?ǽ????롣 ????ʸ?????? Xlib ????ͭ???Ƥ????Τǡ????饤?????ȤϽ????????????????? ?ꤷ?ƤϤʤ??ʤ??? ????ʸ?????ϡ??б????? XFontSet ?????????ˤ??? XFreeFontSet ???ƤӽФ????Ȥˤ??äƲ????????롣 ???????????ޤǤϡ????????Ƥ? Xlib ?ˤ??ä??ѹ??????뤳?ȤϤʤ???

?礱?Ƥ???ʸ???????ȥǥե?????ʸ?????󤫤饨?顼???å??????????ꡢ ?????Υե????Ȥ?¸?ߤ??ʤ??????˥ץ????????μ¹Ԥ???³???뤫 ?ɤ??????????뤳?Ȥϥ??饤?????Ȥ???Ǥ?Ǥ??롣

?֤????? XFontSet ?ȷ礱?Ƥ???ʸ??????ʸ?????Ϥ??줾?? XFreeFontSet ?? XFreeStringList ?Dz??????ʤ????Фʤ??ʤ??? ???饤?????Ȥ?Ϳ???? base_font_name_list ?? XCreateFontSet ???ƤӽФ??????˥??饤?????Ȥ????????Ƥ??褤??

?ؿ? XFreeFontSet ?ϻ??ꤷ???ե????ȥ??åȤ????????롣 ¸?ߤ????ʤ??С???Ϣ?????١????ե?????̾?ꥹ?ȡ??ե?????̾?ꥹ?ȡ? XFontStruct ?Υꥹ?ȡ? XFontSetExtents ???????????롣

??Ϣ????

XExtentsofFontSet(3X11), XFontsOfFontSet(3X11), XFontSetExtents(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11