pango 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +21 -2
- data/lib/2.0/pango.so +0 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +820 -0
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/makeconv.exe +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +3 -3
- data/vendor/local/include/harfbuzz/hb-blob.h +3 -4
- data/vendor/local/include/harfbuzz/hb-buffer.h +22 -1
- data/vendor/local/include/harfbuzz/hb-common.h +23 -18
- data/vendor/local/include/harfbuzz/hb-icu.h +52 -0
- data/vendor/local/include/harfbuzz/hb-ot-font.h +41 -0
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +11 -3
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +10 -11
- data/vendor/local/include/harfbuzz/hb-ot.h +1 -0
- data/vendor/local/include/harfbuzz/hb-version.h +7 -7
- data/vendor/local/include/layout/LEFontInstance.h +550 -0
- data/vendor/local/include/layout/LEGlyphFilter.h +45 -0
- data/vendor/local/include/layout/LEGlyphStorage.h +546 -0
- data/vendor/local/include/layout/LEInsertionList.h +177 -0
- data/vendor/local/include/layout/LELanguages.h +112 -0
- data/vendor/local/include/layout/LEScripts.h +263 -0
- data/vendor/local/include/layout/LESwaps.h +100 -0
- data/vendor/local/include/layout/LETableReference.h +418 -0
- data/vendor/local/include/layout/LETypes.h +728 -0
- data/vendor/local/include/layout/LayoutEngine.h +518 -0
- data/vendor/local/include/layout/ParagraphLayout.h +747 -0
- data/vendor/local/include/layout/RunArrays.h +676 -0
- data/vendor/local/include/layout/loengine.h +225 -0
- data/vendor/local/include/layout/playout.h +466 -0
- data/vendor/local/include/layout/plruns.h +441 -0
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-font.h +3 -1
- data/vendor/local/include/pango-1.0/pango/pango-item.h +11 -2
- data/vendor/local/include/unicode/alphaindex.h +752 -0
- data/vendor/local/include/unicode/appendable.h +232 -0
- data/vendor/local/include/unicode/basictz.h +214 -0
- data/vendor/local/include/unicode/brkiter.h +655 -0
- data/vendor/local/include/unicode/bytestream.h +257 -0
- data/vendor/local/include/unicode/bytestrie.h +519 -0
- data/vendor/local/include/unicode/bytestriebuilder.h +181 -0
- data/vendor/local/include/unicode/calendar.h +2519 -0
- data/vendor/local/include/unicode/caniter.h +208 -0
- data/vendor/local/include/unicode/chariter.h +722 -0
- data/vendor/local/include/unicode/choicfmt.h +594 -0
- data/vendor/local/include/unicode/coleitr.h +404 -0
- data/vendor/local/include/unicode/coll.h +1267 -0
- data/vendor/local/include/unicode/compactdecimalformat.h +330 -0
- data/vendor/local/include/unicode/curramt.h +130 -0
- data/vendor/local/include/unicode/currpinf.h +258 -0
- data/vendor/local/include/unicode/currunit.h +110 -0
- data/vendor/local/include/unicode/datefmt.h +883 -0
- data/vendor/local/include/unicode/dbbi.h +40 -0
- data/vendor/local/include/unicode/dcfmtsym.h +482 -0
- data/vendor/local/include/unicode/decimfmt.h +2479 -0
- data/vendor/local/include/unicode/docmain.h +215 -0
- data/vendor/local/include/unicode/dtfmtsym.h +912 -0
- data/vendor/local/include/unicode/dtintrv.h +158 -0
- data/vendor/local/include/unicode/dtitvfmt.h +985 -0
- data/vendor/local/include/unicode/dtitvinf.h +514 -0
- data/vendor/local/include/unicode/dtptngen.h +498 -0
- data/vendor/local/include/unicode/dtrule.h +250 -0
- data/vendor/local/include/unicode/enumset.h +64 -0
- data/vendor/local/include/unicode/errorcode.h +137 -0
- data/vendor/local/include/unicode/fieldpos.h +291 -0
- data/vendor/local/include/unicode/filteredbrk.h +131 -0
- data/vendor/local/include/unicode/fmtable.h +760 -0
- data/vendor/local/include/unicode/format.h +305 -0
- data/vendor/local/include/unicode/fpositer.h +117 -0
- data/vendor/local/include/unicode/gender.h +111 -0
- data/vendor/local/include/unicode/gregocal.h +777 -0
- data/vendor/local/include/unicode/icudataver.h +41 -0
- data/vendor/local/include/unicode/icuplug.h +371 -0
- data/vendor/local/include/unicode/idna.h +323 -0
- data/vendor/local/include/unicode/listformatter.h +167 -0
- data/vendor/local/include/unicode/localpointer.h +304 -0
- data/vendor/local/include/unicode/locdspnm.h +204 -0
- data/vendor/local/include/unicode/locid.h +815 -0
- data/vendor/local/include/unicode/measfmt.h +389 -0
- data/vendor/local/include/unicode/measunit.h +1443 -0
- data/vendor/local/include/unicode/measure.h +159 -0
- data/vendor/local/include/unicode/messagepattern.h +943 -0
- data/vendor/local/include/unicode/msgfmt.h +1093 -0
- data/vendor/local/include/unicode/normalizer2.h +658 -0
- data/vendor/local/include/unicode/normlzr.h +797 -0
- data/vendor/local/include/unicode/numfmt.h +1187 -0
- data/vendor/local/include/unicode/numsys.h +208 -0
- data/vendor/local/include/unicode/parseerr.h +92 -0
- data/vendor/local/include/unicode/parsepos.h +230 -0
- data/vendor/local/include/unicode/platform.h +751 -0
- data/vendor/local/include/unicode/plurfmt.h +615 -0
- data/vendor/local/include/unicode/plurrule.h +501 -0
- data/vendor/local/include/unicode/ptypes.h +126 -0
- data/vendor/local/include/unicode/putil.h +181 -0
- data/vendor/local/include/unicode/rbbi.h +782 -0
- data/vendor/local/include/unicode/rbnf.h +1032 -0
- data/vendor/local/include/unicode/rbtz.h +362 -0
- data/vendor/local/include/unicode/regex.h +1857 -0
- data/vendor/local/include/unicode/region.h +228 -0
- data/vendor/local/include/unicode/reldatefmt.h +498 -0
- data/vendor/local/include/unicode/rep.h +261 -0
- data/vendor/local/include/unicode/resbund.h +490 -0
- data/vendor/local/include/unicode/schriter.h +187 -0
- data/vendor/local/include/unicode/scientificformathelper.h +139 -0
- data/vendor/local/include/unicode/search.h +575 -0
- data/vendor/local/include/unicode/selfmt.h +367 -0
- data/vendor/local/include/unicode/simpletz.h +928 -0
- data/vendor/local/include/unicode/smpdtfmt.h +1592 -0
- data/vendor/local/include/unicode/sortkey.h +338 -0
- data/vendor/local/include/unicode/std_string.h +37 -0
- data/vendor/local/include/unicode/strenum.h +276 -0
- data/vendor/local/include/unicode/stringpiece.h +224 -0
- data/vendor/local/include/unicode/stringtriebuilder.h +402 -0
- data/vendor/local/include/unicode/stsearch.h +504 -0
- data/vendor/local/include/unicode/symtable.h +112 -0
- data/vendor/local/include/unicode/tblcoll.h +873 -0
- data/vendor/local/include/unicode/timezone.h +948 -0
- data/vendor/local/include/unicode/tmunit.h +129 -0
- data/vendor/local/include/unicode/tmutamt.h +168 -0
- data/vendor/local/include/unicode/tmutfmt.h +243 -0
- data/vendor/local/include/unicode/translit.h +1342 -0
- data/vendor/local/include/unicode/tzfmt.h +1098 -0
- data/vendor/local/include/unicode/tznames.h +404 -0
- data/vendor/local/include/unicode/tzrule.h +828 -0
- data/vendor/local/include/unicode/tztrans.h +195 -0
- data/vendor/local/include/unicode/ubidi.h +2186 -0
- data/vendor/local/include/unicode/ubrk.h +540 -0
- data/vendor/local/include/unicode/ucal.h +1560 -0
- data/vendor/local/include/unicode/ucasemap.h +423 -0
- data/vendor/local/include/unicode/ucat.h +158 -0
- data/vendor/local/include/unicode/uchar.h +3426 -0
- data/vendor/local/include/unicode/ucharstrie.h +576 -0
- data/vendor/local/include/unicode/ucharstriebuilder.h +185 -0
- data/vendor/local/include/unicode/uchriter.h +381 -0
- data/vendor/local/include/unicode/uclean.h +258 -0
- data/vendor/local/include/unicode/ucnv.h +2036 -0
- data/vendor/local/include/unicode/ucnv_cb.h +162 -0
- data/vendor/local/include/unicode/ucnv_err.h +463 -0
- data/vendor/local/include/unicode/ucnvsel.h +187 -0
- data/vendor/local/include/unicode/ucol.h +1474 -0
- data/vendor/local/include/unicode/ucoleitr.h +266 -0
- data/vendor/local/include/unicode/uconfig.h +430 -0
- data/vendor/local/include/unicode/ucsdet.h +413 -0
- data/vendor/local/include/unicode/ucurr.h +424 -0
- data/vendor/local/include/unicode/udat.h +1536 -0
- data/vendor/local/include/unicode/udata.h +430 -0
- data/vendor/local/include/unicode/udateintervalformat.h +181 -0
- data/vendor/local/include/unicode/udatpg.h +588 -0
- data/vendor/local/include/unicode/udisplaycontext.h +150 -0
- data/vendor/local/include/unicode/uenum.h +206 -0
- data/vendor/local/include/unicode/uformattable.h +280 -0
- data/vendor/local/include/unicode/ugender.h +82 -0
- data/vendor/local/include/unicode/uidna.h +762 -0
- data/vendor/local/include/unicode/uiter.h +707 -0
- data/vendor/local/include/unicode/uldnames.h +302 -0
- data/vendor/local/include/unicode/uloc.h +1256 -0
- data/vendor/local/include/unicode/ulocdata.h +277 -0
- data/vendor/local/include/unicode/umachine.h +356 -0
- data/vendor/local/include/unicode/umisc.h +60 -0
- data/vendor/local/include/unicode/umsg.h +623 -0
- data/vendor/local/include/unicode/unifilt.h +120 -0
- data/vendor/local/include/unicode/unifunct.h +125 -0
- data/vendor/local/include/unicode/unimatch.h +163 -0
- data/vendor/local/include/unicode/unirepl.h +97 -0
- data/vendor/local/include/unicode/uniset.h +1691 -0
- data/vendor/local/include/unicode/unistr.h +4470 -0
- data/vendor/local/include/unicode/unorm.h +561 -0
- data/vendor/local/include/unicode/unorm2.h +528 -0
- data/vendor/local/include/unicode/unum.h +1328 -0
- data/vendor/local/include/unicode/unumsys.h +170 -0
- data/vendor/local/include/unicode/uobject.h +320 -0
- data/vendor/local/include/unicode/upluralrules.h +145 -0
- data/vendor/local/include/unicode/uregex.h +1591 -0
- data/vendor/local/include/unicode/uregion.h +248 -0
- data/vendor/local/include/unicode/urename.h +1784 -0
- data/vendor/local/include/unicode/urep.h +155 -0
- data/vendor/local/include/unicode/ures.h +887 -0
- data/vendor/local/include/unicode/uscript.h +642 -0
- data/vendor/local/include/unicode/usearch.h +885 -0
- data/vendor/local/include/unicode/uset.h +1126 -0
- data/vendor/local/include/unicode/usetiter.h +318 -0
- data/vendor/local/include/unicode/ushape.h +474 -0
- data/vendor/local/include/unicode/uspoof.h +1064 -0
- data/vendor/local/include/unicode/usprep.h +269 -0
- data/vendor/local/include/unicode/ustdio.h +1018 -0
- data/vendor/local/include/unicode/ustream.h +68 -0
- data/vendor/local/include/unicode/ustring.h +1700 -0
- data/vendor/local/include/unicode/ustringtrie.h +95 -0
- data/vendor/local/include/unicode/utext.h +1600 -0
- data/vendor/local/include/unicode/utf.h +223 -0
- data/vendor/local/include/unicode/utf16.h +623 -0
- data/vendor/local/include/unicode/utf32.h +23 -0
- data/vendor/local/include/unicode/utf8.h +824 -0
- data/vendor/local/include/unicode/utf_old.h +1169 -0
- data/vendor/local/include/unicode/utmscale.h +481 -0
- data/vendor/local/include/unicode/utrace.h +359 -0
- data/vendor/local/include/unicode/utrans.h +658 -0
- data/vendor/local/include/unicode/utypes.h +723 -0
- data/vendor/local/include/unicode/uvernum.h +170 -0
- data/vendor/local/include/unicode/uversion.h +193 -0
- data/vendor/local/include/unicode/vtzone.h +455 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
- data/vendor/local/lib/icu/54.1/Makefile.inc +293 -0
- data/vendor/local/lib/icu/54.1/pkgdata.inc +17 -0
- data/vendor/local/lib/icu/Makefile.inc +293 -0
- data/vendor/local/lib/icu/pkgdata.inc +17 -0
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt54.dll +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin54.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio54.dll +0 -0
- data/vendor/local/lib/icule.dll +0 -0
- data/vendor/local/lib/icule54.dll +0 -0
- data/vendor/local/lib/iculx.dll +0 -0
- data/vendor/local/lib/iculx54.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/icutest54.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu54.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc54.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +41 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +3 -3
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +2 -2
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +2 -2
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +2 -2
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +13 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-io.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-le.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-lx.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-uc.pc +38 -0
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +3009 -462
- data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +64 -22
- data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +4 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +30 -26
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +343 -313
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +6 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +442 -247
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1389 -654
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +954 -698
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +95 -18
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +36 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +477 -191
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +1951 -1039
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +123 -65
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +66 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +11 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +67 -23
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +66 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +574 -347
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +104 -37
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +10 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +744 -318
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +294 -153
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +196 -104
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1100 -757
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +51 -18
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +110 -84
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +11 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +289 -503
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +161 -316
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +31 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +143 -105
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +150 -108
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +163 -112
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +348 -229
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +746 -514
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +853 -623
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +29 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +31 -33
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +10 -12
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +12 -14
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +53 -55
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +28 -30
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +29 -31
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +17 -19
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +28 -30
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +17 -19
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +9 -11
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +11 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +7 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +49 -51
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +36 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +37 -39
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +68 -70
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +568 -570
- data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +229 -399
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +345 -259
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +979 -664
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +70 -43
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +349 -229
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +236 -153
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +3100 -2159
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +659 -472
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +1952 -1384
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +3050 -2135
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +676 -463
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +223 -146
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +1589 -1199
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +1072 -842
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +406 -276
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +2541 -1792
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +1479 -1033
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +214 -154
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +374 -291
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +733 -498
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +893 -617
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +59 -59
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +578 -782
- data/vendor/local/share/gtk-doc/html/pango/pango.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/pango/tools.html +4 -4
- data/vendor/local/share/icu/54.1/config/mh-mingw +158 -0
- data/vendor/local/share/icu/54.1/install-sh +251 -0
- data/vendor/local/share/icu/54.1/license.html +385 -0
- data/vendor/local/share/icu/54.1/mkinstalldirs +43 -0
- data/vendor/local/share/license/harfbuzz/AUTHORS +1 -0
- data/vendor/local/share/man/man1/derb.1 +196 -0
- data/vendor/local/share/man/man1/genbrk.1 +112 -0
- data/vendor/local/share/man/man1/gencfu.1 +91 -0
- data/vendor/local/share/man/man1/gencnval.1 +91 -0
- data/vendor/local/share/man/man1/gendict.1 +131 -0
- data/vendor/local/share/man/man1/genrb.1 +146 -0
- data/vendor/local/share/man/man1/icu-config.1 +288 -0
- data/vendor/local/share/man/man1/makeconv.1 +112 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -118
- data/vendor/local/share/man/man1/pkgdata.1 +258 -0
- data/vendor/local/share/man/man1/uconv.1 +443 -0
- data/vendor/local/share/man/man8/genccode.8 +106 -0
- data/vendor/local/share/man/man8/gencmn.8 +129 -0
- data/vendor/local/share/man/man8/gensprep.8 +102 -0
- data/vendor/local/share/man/man8/icupkg.8 +204 -0
- metadata +266 -14
- data/lib/1.9/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
@@ -8,19 +8,16 @@
|
|
8
8
|
<link rel="up" href="rendering.html" title="Rendering with Pango">
|
9
9
|
<link rel="prev" href="pango-FreeType-Fonts-and-Rendering.html" title="FreeType Fonts and Rendering">
|
10
10
|
<link rel="next" href="pango-Cairo-Rendering.html" title="Cairo Rendering">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#pango-Xft-Fonts-and-Rendering.
|
20
|
-
|
21
|
-
<a href="#pango-Xft-Fonts-and-Rendering.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#pango-Xft-Fonts-and-Rendering.properties" class="shortcut">Properties</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#pango-Xft-Fonts-and-Rendering.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#pango-Xft-Fonts-and-Rendering.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#pango-Xft-Fonts-and-Rendering.properties" class="shortcut">Properties</a></span>
|
24
21
|
</td>
|
25
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
23
|
<td><a accesskey="u" href="rendering.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,124 +31,268 @@
|
|
34
31
|
<h2><span class="refentrytitle"><a name="pango-Xft-Fonts-and-Rendering.top_of_page"></a>Xft Fonts and Rendering</span></h2>
|
35
32
|
<p>Xft Fonts and Rendering — Font handling and rendering with the Xft backend</p>
|
36
33
|
</td>
|
37
|
-
<td valign="top" align="right"></td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
35
|
</tr></table></div>
|
39
|
-
<div class="refsynopsisdiv">
|
40
|
-
<a name="pango-Xft-Fonts-and-Rendering.synopsis"></a><h2>Synopsis</h2>
|
41
|
-
<a name="PangoXftFont"></a><a name="PangoXftFontMap"></a><a name="PangoXftRenderer"></a><pre class="synopsis"> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFont-struct" title="PangoXftFont">PangoXftFont</a>;
|
42
|
-
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFontMap-struct" title="PangoXftFontMap">PangoXftFontMap</a>;
|
43
|
-
#define <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PANGO-RENDER-TYPE-XFT:CAPS" title="PANGO_RENDER_TYPE_XFT">PANGO_RENDER_TYPE_XFT</a>
|
44
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-context" title="pango_xft_get_context ()">pango_xft_get_context</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
45
|
-
<em class="parameter"><code><span class="type">int</span> screen</code></em>);
|
46
|
-
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-font-map" title="pango_xft_get_font_map ()">pango_xft_get_font_map</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
47
|
-
<em class="parameter"><code><span class="type">int</span> screen</code></em>);
|
48
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-set-default-substitute" title="pango_xft_set_default_substitute ()">pango_xft_set_default_substitute</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
49
|
-
<em class="parameter"><code><span class="type">int</span> screen</code></em>,
|
50
|
-
<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftSubstituteFunc" title="PangoXftSubstituteFunc ()"><span class="type">PangoXftSubstituteFunc</span></a> func</code></em>,
|
51
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
52
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);
|
53
|
-
<span class="returnvalue">void</span> (<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftSubstituteFunc" title="PangoXftSubstituteFunc ()">*PangoXftSubstituteFunc</a>) (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
|
54
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
55
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-substitute-changed" title="pango_xft_substitute_changed ()">pango_xft_substitute_changed</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
56
|
-
<em class="parameter"><code><span class="type">int</span> screen</code></em>);
|
57
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-shutdown-display" title="pango_xft_shutdown_display ()">pango_xft_shutdown_display</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
58
|
-
<em class="parameter"><code><span class="type">int</span> screen</code></em>);
|
59
|
-
<span class="returnvalue">XftFont</span> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-font" title="pango_xft_font_get_font ()">pango_xft_font_get_font</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
60
|
-
<span class="returnvalue">Display</span> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-display" title="pango_xft_font_get_display ()">pango_xft_font_get_display</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
61
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-has-char" title="pango_xft_font_has_char ()">pango_xft_font_has_char</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
62
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);
|
63
|
-
<span class="returnvalue">FT_Face</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-lock-face" title="pango_xft_font_lock_face ()">pango_xft_font_lock_face</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
64
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-unlock-face" title="pango_xft_font_unlock_face ()">pango_xft_font_unlock_face</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
65
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-glyph" title="pango_xft_font_get_glyph ()">pango_xft_font_get_glyph</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
66
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);
|
67
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-unknown-glyph" title="pango_xft_font_get_unknown_glyph ()">pango_xft_font_get_unknown_glyph</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
68
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);
|
69
|
-
struct <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer-struct" title="struct PangoXftRenderer">PangoXftRenderer</a>;
|
70
|
-
struct <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRendererClass" title="struct PangoXftRendererClass">PangoXftRendererClass</a>;
|
71
|
-
<a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="returnvalue">PangoRenderer</span></a> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-new" title="pango_xft_renderer_new ()">pango_xft_renderer_new</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
72
|
-
<em class="parameter"><code><span class="type">int</span> screen</code></em>);
|
73
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-set-draw" title="pango_xft_renderer_set_draw ()">pango_xft_renderer_set_draw</a> (<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> *xftrenderer</code></em>,
|
74
|
-
<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>);
|
75
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-set-default-color" title="pango_xft_renderer_set_default_color ()">pango_xft_renderer_set_default_color</a>
|
76
|
-
(<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> *xftrenderer</code></em>,
|
77
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *default_color</code></em>);
|
78
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render" title="pango_xft_render ()">pango_xft_render</a> (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
79
|
-
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
80
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
81
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
82
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
83
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
|
84
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-picture-render" title="pango_xft_picture_render ()">pango_xft_picture_render</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
85
|
-
<em class="parameter"><code><span class="type">Picture</span> src_picture</code></em>,
|
86
|
-
<em class="parameter"><code><span class="type">Picture</span> dest_picture</code></em>,
|
87
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
88
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
89
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
90
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
|
91
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-transformed" title="pango_xft_render_transformed ()">pango_xft_render_transformed</a> (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
92
|
-
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
93
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
94
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
95
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
96
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
97
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
98
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-layout-line" title="pango_xft_render_layout_line ()">pango_xft_render_layout_line</a> (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
99
|
-
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
100
|
-
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
101
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
102
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
103
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-layout" title="pango_xft_render_layout ()">pango_xft_render_layout</a> (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
104
|
-
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
105
|
-
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
106
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
107
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
108
|
-
</pre>
|
109
|
-
</div>
|
110
36
|
<div class="refsect1">
|
111
|
-
<a name="pango-Xft-Fonts-and-Rendering.
|
112
|
-
<
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
<
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
</
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
</
|
37
|
+
<a name="pango-Xft-Fonts-and-Rendering.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-context" title="pango_xft_get_context ()">pango_xft_get_context</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-font-map" title="pango_xft_get_font_map ()">pango_xft_get_font_map</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<span class="returnvalue">void</span>
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-set-default-substitute" title="pango_xft_set_default_substitute ()">pango_xft_set_default_substitute</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<span class="returnvalue">void</span>
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<span class="c_punctuation">(</span><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftSubstituteFunc" title="PangoXftSubstituteFunc ()">*PangoXftSubstituteFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<span class="returnvalue">void</span>
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-substitute-changed" title="pango_xft_substitute_changed ()">pango_xft_substitute_changed</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<span class="returnvalue">void</span>
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-shutdown-display" title="pango_xft_shutdown_display ()">pango_xft_shutdown_display</a> <span class="c_punctuation">()</span>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">
|
94
|
+
<span class="returnvalue">XftFont</span> *
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-font" title="pango_xft_font_get_font ()">pango_xft_font_get_font</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<span class="returnvalue">Display</span> *
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-display" title="pango_xft_font_get_display ()">pango_xft_font_get_display</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="function_type">
|
110
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
111
|
+
</td>
|
112
|
+
<td class="function_name">
|
113
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-has-char" title="pango_xft_font_has_char ()">pango_xft_font_has_char</a> <span class="c_punctuation">()</span>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td class="function_type">
|
118
|
+
<span class="returnvalue">FT_Face</span>
|
119
|
+
</td>
|
120
|
+
<td class="function_name">
|
121
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-lock-face" title="pango_xft_font_lock_face ()">pango_xft_font_lock_face</a> <span class="c_punctuation">()</span>
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td class="function_type">
|
126
|
+
<span class="returnvalue">void</span>
|
127
|
+
</td>
|
128
|
+
<td class="function_name">
|
129
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-unlock-face" title="pango_xft_font_unlock_face ()">pango_xft_font_unlock_face</a> <span class="c_punctuation">()</span>
|
130
|
+
</td>
|
131
|
+
</tr>
|
132
|
+
<tr>
|
133
|
+
<td class="function_type">
|
134
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
135
|
+
</td>
|
136
|
+
<td class="function_name">
|
137
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-glyph" title="pango_xft_font_get_glyph ()">pango_xft_font_get_glyph</a> <span class="c_punctuation">()</span>
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td class="function_type">
|
142
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a>
|
143
|
+
</td>
|
144
|
+
<td class="function_name">
|
145
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-unknown-glyph" title="pango_xft_font_get_unknown_glyph ()">pango_xft_font_get_unknown_glyph</a> <span class="c_punctuation">()</span>
|
146
|
+
</td>
|
147
|
+
</tr>
|
148
|
+
<tr>
|
149
|
+
<td class="function_type">
|
150
|
+
<a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="returnvalue">PangoRenderer</span></a> *
|
151
|
+
</td>
|
152
|
+
<td class="function_name">
|
153
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-new" title="pango_xft_renderer_new ()">pango_xft_renderer_new</a> <span class="c_punctuation">()</span>
|
154
|
+
</td>
|
155
|
+
</tr>
|
156
|
+
<tr>
|
157
|
+
<td class="function_type">
|
158
|
+
<span class="returnvalue">void</span>
|
159
|
+
</td>
|
160
|
+
<td class="function_name">
|
161
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-set-draw" title="pango_xft_renderer_set_draw ()">pango_xft_renderer_set_draw</a> <span class="c_punctuation">()</span>
|
162
|
+
</td>
|
163
|
+
</tr>
|
164
|
+
<tr>
|
165
|
+
<td class="function_type">
|
166
|
+
<span class="returnvalue">void</span>
|
167
|
+
</td>
|
168
|
+
<td class="function_name">
|
169
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-set-default-color" title="pango_xft_renderer_set_default_color ()">pango_xft_renderer_set_default_color</a> <span class="c_punctuation">()</span>
|
170
|
+
</td>
|
171
|
+
</tr>
|
172
|
+
<tr>
|
173
|
+
<td class="function_type">
|
174
|
+
<span class="returnvalue">void</span>
|
175
|
+
</td>
|
176
|
+
<td class="function_name">
|
177
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render" title="pango_xft_render ()">pango_xft_render</a> <span class="c_punctuation">()</span>
|
178
|
+
</td>
|
179
|
+
</tr>
|
180
|
+
<tr>
|
181
|
+
<td class="function_type">
|
182
|
+
<span class="returnvalue">void</span>
|
183
|
+
</td>
|
184
|
+
<td class="function_name">
|
185
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-picture-render" title="pango_xft_picture_render ()">pango_xft_picture_render</a> <span class="c_punctuation">()</span>
|
186
|
+
</td>
|
187
|
+
</tr>
|
188
|
+
<tr>
|
189
|
+
<td class="function_type">
|
190
|
+
<span class="returnvalue">void</span>
|
191
|
+
</td>
|
192
|
+
<td class="function_name">
|
193
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-transformed" title="pango_xft_render_transformed ()">pango_xft_render_transformed</a> <span class="c_punctuation">()</span>
|
194
|
+
</td>
|
195
|
+
</tr>
|
196
|
+
<tr>
|
197
|
+
<td class="function_type">
|
198
|
+
<span class="returnvalue">void</span>
|
199
|
+
</td>
|
200
|
+
<td class="function_name">
|
201
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-layout-line" title="pango_xft_render_layout_line ()">pango_xft_render_layout_line</a> <span class="c_punctuation">()</span>
|
202
|
+
</td>
|
203
|
+
</tr>
|
204
|
+
<tr>
|
205
|
+
<td class="function_type">
|
206
|
+
<span class="returnvalue">void</span>
|
207
|
+
</td>
|
208
|
+
<td class="function_name">
|
209
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-layout" title="pango_xft_render_layout ()">pango_xft_render_layout</a> <span class="c_punctuation">()</span>
|
210
|
+
</td>
|
211
|
+
</tr>
|
212
|
+
</tbody>
|
213
|
+
</table></div>
|
129
214
|
</div>
|
130
215
|
<div class="refsect1">
|
131
216
|
<a name="pango-Xft-Fonts-and-Rendering.properties"></a><h2>Properties</h2>
|
132
|
-
<
|
133
|
-
|
134
|
-
|
217
|
+
<div class="informaltable"><table border="0">
|
218
|
+
<colgroup>
|
219
|
+
<col width="150px" class="properties_type">
|
220
|
+
<col width="300px" class="properties_name">
|
221
|
+
<col width="200px" class="properties_flags">
|
222
|
+
</colgroup>
|
223
|
+
<tbody>
|
224
|
+
<tr>
|
225
|
+
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
|
226
|
+
<td class="property_name"><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer--display" title="The “display” property">display</a></td>
|
227
|
+
<td class="property_flags">Write / Construct Only</td>
|
228
|
+
</tr>
|
229
|
+
<tr>
|
230
|
+
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
231
|
+
<td class="property_name"><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer--screen" title="The “screen” property">screen</a></td>
|
232
|
+
<td class="property_flags">Write / Construct Only</td>
|
233
|
+
</tr>
|
234
|
+
</tbody>
|
235
|
+
</table></div>
|
236
|
+
</div>
|
237
|
+
<a name="PangoXftFont"></a><a name="PangoXftFontMap"></a><a name="PangoXftRenderer"></a><div class="refsect1">
|
238
|
+
<a name="pango-Xft-Fonts-and-Rendering.other"></a><h2>Types and Values</h2>
|
239
|
+
<div class="informaltable"><table width="100%" border="0">
|
240
|
+
<colgroup>
|
241
|
+
<col width="150px" class="name">
|
242
|
+
<col class="description">
|
243
|
+
</colgroup>
|
244
|
+
<tbody>
|
245
|
+
<tr>
|
246
|
+
<td class="datatype_keyword"> </td>
|
247
|
+
<td class="function_name"><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFont-struct" title="PangoXftFont">PangoXftFont</a></td>
|
248
|
+
</tr>
|
249
|
+
<tr>
|
250
|
+
<td class="datatype_keyword"> </td>
|
251
|
+
<td class="function_name"><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFontMap-struct" title="PangoXftFontMap">PangoXftFontMap</a></td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td class="define_keyword">#define</td>
|
255
|
+
<td class="function_name"><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PANGO-RENDER-TYPE-XFT:CAPS" title="PANGO_RENDER_TYPE_XFT">PANGO_RENDER_TYPE_XFT</a></td>
|
256
|
+
</tr>
|
257
|
+
<tr>
|
258
|
+
<td class="datatype_keyword">struct</td>
|
259
|
+
<td class="function_name"><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer-struct" title="struct PangoXftRenderer">PangoXftRenderer</a></td>
|
260
|
+
</tr>
|
261
|
+
<tr>
|
262
|
+
<td class="datatype_keyword">struct</td>
|
263
|
+
<td class="function_name"><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRendererClass" title="struct PangoXftRendererClass">PangoXftRendererClass</a></td>
|
264
|
+
</tr>
|
265
|
+
</tbody>
|
266
|
+
</table></div>
|
267
|
+
</div>
|
268
|
+
<div class="refsect1">
|
269
|
+
<a name="pango-Xft-Fonts-and-Rendering.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
270
|
+
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
271
|
+
<span class="lineart">├──</span> <a class="link" href="pango-Fonts.html#PangoFont">PangoFont</a>
|
272
|
+
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a>
|
273
|
+
<span class="lineart">│</span> <span class="lineart">╰──</span> PangoXftFont
|
274
|
+
<span class="lineart">├──</span> <a class="link" href="pango-Fonts.html#PangoFontMap">PangoFontMap</a>
|
275
|
+
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap">PangoFcFontMap</a>
|
276
|
+
<span class="lineart">│</span> <span class="lineart">╰──</span> PangoXftFontMap
|
277
|
+
<span class="lineart">╰──</span> <a class="link" href="PangoRenderer.html" title="PangoRenderer">PangoRenderer</a>
|
278
|
+
<span class="lineart">╰──</span> PangoXftRenderer
|
135
279
|
</pre>
|
136
280
|
</div>
|
137
281
|
<div class="refsect1">
|
138
282
|
<a name="pango-Xft-Fonts-and-Rendering.description"></a><h2>Description</h2>
|
139
|
-
<p>
|
140
|
-
The Xft library is a library for displaying fonts on the X window
|
283
|
+
<p>The Xft library is a library for displaying fonts on the X window
|
141
284
|
system; internally it uses the fontconfig library to locate font
|
142
285
|
files, and the FreeType library to load and render fonts. The
|
143
286
|
Xft backend is the recommended Pango font backend for screen
|
144
287
|
display with X. (The <a class="link" href="pango-Cairo-Rendering.html" title="Cairo Rendering">Cairo back end</a> is another possibility.)</p>
|
145
|
-
<p>
|
146
|
-
|
147
|
-
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-context" title="pango_xft_get_context ()"><code class="function">pango_xft_get_context()</code></a> creates a context for a specified display
|
288
|
+
<p>Using the Xft backend is generally straightforward;
|
289
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-context" title="pango_xft_get_context ()"><code class="function">pango_xft_get_context()</code></a> creates a context for a specified display
|
148
290
|
and screen. You can then create a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> with that context
|
149
|
-
and render it with <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-layout" title="pango_xft_render_layout
|
291
|
+
and render it with <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-layout" title="pango_xft_render_layout ()"><code class="function">pango_xft_render_layout()</code></a>. At a more advanced
|
150
292
|
level, the low-level fontconfig options used for rendering fonts
|
151
|
-
can be affected using <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-set-default-substitute" title="pango_xft_set_default_substitute
|
152
|
-
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-substitute-changed" title="pango_xft_substitute_changed
|
153
|
-
<p>
|
154
|
-
A range of functions for drawing pieces of a layout, such as
|
293
|
+
can be affected using <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-set-default-substitute" title="pango_xft_set_default_substitute ()"><code class="function">pango_xft_set_default_substitute()</code></a>, and
|
294
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-substitute-changed" title="pango_xft_substitute_changed ()"><code class="function">pango_xft_substitute_changed()</code></a>.</p>
|
295
|
+
<p>A range of functions for drawing pieces of a layout, such as
|
155
296
|
individual layout lines and glyphs strings are provided. You can also
|
156
297
|
directly create a <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a>. Finally, in some advanced cases, it
|
157
298
|
is useful to derive from <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a>. Deriving from
|
@@ -163,830 +304,965 @@ overriding the <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXft
|
|
163
304
|
'composite_glyphs' and 'composite_trapezoids'.</p>
|
164
305
|
</div>
|
165
306
|
<div class="refsect1">
|
166
|
-
<a name="pango-Xft-Fonts-and-Rendering.
|
167
|
-
<div class="refsect2">
|
168
|
-
<a name="PangoXftFont-struct"></a><h3>PangoXftFont</h3>
|
169
|
-
<pre class="programlisting">typedef struct _PangoXftFont PangoXftFont;</pre>
|
170
|
-
<p>
|
171
|
-
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFont"><span class="type">PangoXftFont</span></a> is an implementation of <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> using the Xft
|
172
|
-
library for rendering. It is used in conjunction with <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFontMap"><span class="type">PangoXftFontMap</span></a>.</p>
|
173
|
-
</div>
|
174
|
-
<hr>
|
175
|
-
<div class="refsect2">
|
176
|
-
<a name="PangoXftFontMap-struct"></a><h3>PangoXftFontMap</h3>
|
177
|
-
<pre class="programlisting">typedef struct _PangoXftFontMap PangoXftFontMap;</pre>
|
178
|
-
<p>
|
179
|
-
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFontMap"><span class="type">PangoXftFontMap</span></a> is an implementation of <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> suitable for
|
180
|
-
the Xft library as the renderer. It is used in to create fonts of
|
181
|
-
type <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFont"><span class="type">PangoXftFont</span></a>.</p>
|
182
|
-
</div>
|
183
|
-
<hr>
|
184
|
-
<div class="refsect2">
|
185
|
-
<a name="PANGO-RENDER-TYPE-XFT:CAPS"></a><h3>PANGO_RENDER_TYPE_XFT</h3>
|
186
|
-
<pre class="programlisting">#define PANGO_RENDER_TYPE_XFT "PangoRenderXft"
|
187
|
-
</pre>
|
188
|
-
<div class="warning">
|
189
|
-
<h3 class="title">Warning</h3>
|
190
|
-
<p><code class="literal">PANGO_RENDER_TYPE_XFT</code> is deprecated and should not be used in newly-written code.</p>
|
191
|
-
</div>
|
192
|
-
<p>
|
193
|
-
A string constant that was used to identify shape engines that work
|
194
|
-
with the Xft backend. See <a class="link" href="PangoFcFont.html#PANGO-RENDER-TYPE-FC:CAPS" title="PANGO_RENDER_TYPE_FC"><code class="literal">PANGO_RENDER_TYPE_FC</code></a> for the replacement.</p>
|
195
|
-
</div>
|
196
|
-
<hr>
|
307
|
+
<a name="pango-Xft-Fonts-and-Rendering.functions_details"></a><h2>Functions</h2>
|
197
308
|
<div class="refsect2">
|
198
|
-
<a name="pango-xft-get-context"></a><h3>pango_xft_get_context
|
199
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a>
|
200
|
-
|
309
|
+
<a name="pango-xft-get-context"></a><h3>pango_xft_get_context ()</h3>
|
310
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
|
311
|
+
pango_xft_get_context (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
312
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);</pre>
|
201
313
|
<div class="warning">
|
202
|
-
<
|
203
|
-
<p
|
204
|
-
<a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context
|
314
|
+
<p><code class="literal">pango_xft_get_context</code> has been deprecated since version 1.22 and should not be used in newly-written code.</p>
|
315
|
+
<p>Use <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-font-map" title="pango_xft_get_font_map ()"><code class="function">pango_xft_get_font_map()</code></a> followed by
|
316
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()"><code class="function">pango_font_map_create_context()</code></a> instead.</p>
|
205
317
|
</div>
|
206
|
-
<p>
|
207
|
-
Retrieves a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> appropriate for rendering with
|
318
|
+
<p>Retrieves a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> appropriate for rendering with
|
208
319
|
Xft fonts on the given screen of the given display.</p>
|
209
|
-
<div class="
|
320
|
+
<div class="refsect3">
|
321
|
+
<a name="id-1.3.4.11.2.6"></a><h4>Parameters</h4>
|
322
|
+
<div class="informaltable"><table width="100%" border="0">
|
210
323
|
<colgroup>
|
211
|
-
<col
|
212
|
-
<col>
|
324
|
+
<col width="150px" class="parameters_name">
|
325
|
+
<col class="parameters_description">
|
326
|
+
<col width="200px" class="parameters_annotations">
|
213
327
|
</colgroup>
|
214
328
|
<tbody>
|
215
329
|
<tr>
|
216
|
-
<td
|
217
|
-
<td>an X display.</td>
|
218
|
-
</
|
219
|
-
<tr>
|
220
|
-
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
221
|
-
<td>an X screen.</td>
|
330
|
+
<td class="parameter_name"><p>display</p></td>
|
331
|
+
<td class="parameter_description"><p>an X display.</p></td>
|
332
|
+
<td class="parameter_annotations"> </td>
|
222
333
|
</tr>
|
223
334
|
<tr>
|
224
|
-
<td
|
225
|
-
<td
|
335
|
+
<td class="parameter_name"><p>screen</p></td>
|
336
|
+
<td class="parameter_description"><p>an X screen.</p></td>
|
337
|
+
<td class="parameter_annotations"> </td>
|
226
338
|
</tr>
|
227
339
|
</tbody>
|
228
340
|
</table></div>
|
229
341
|
</div>
|
342
|
+
<div class="refsect3">
|
343
|
+
<a name="id-1.3.4.11.2.7"></a><h4>Returns</h4>
|
344
|
+
<p> the new <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
345
|
+
<p></p>
|
346
|
+
</div>
|
347
|
+
</div>
|
230
348
|
<hr>
|
231
349
|
<div class="refsect2">
|
232
|
-
<a name="pango-xft-get-font-map"></a><h3>pango_xft_get_font_map
|
233
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a>
|
234
|
-
|
235
|
-
<
|
236
|
-
Returns the <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFontMap"><span class="type">PangoXftFontMap</span></a> for the given display and screen.
|
350
|
+
<a name="pango-xft-get-font-map"></a><h3>pango_xft_get_font_map ()</h3>
|
351
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
352
|
+
pango_xft_get_font_map (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
353
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);</pre>
|
354
|
+
<p>Returns the <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFontMap"><span class="type">PangoXftFontMap</span></a> for the given display and screen.
|
237
355
|
The fontmap is owned by Pango and will be valid until
|
238
356
|
the display is closed.</p>
|
239
|
-
<div class="
|
357
|
+
<div class="refsect3">
|
358
|
+
<a name="id-1.3.4.11.3.5"></a><h4>Parameters</h4>
|
359
|
+
<div class="informaltable"><table width="100%" border="0">
|
240
360
|
<colgroup>
|
241
|
-
<col
|
242
|
-
<col>
|
361
|
+
<col width="150px" class="parameters_name">
|
362
|
+
<col class="parameters_description">
|
363
|
+
<col width="200px" class="parameters_annotations">
|
243
364
|
</colgroup>
|
244
365
|
<tbody>
|
245
366
|
<tr>
|
246
|
-
<td
|
247
|
-
<td>an X display</td>
|
248
|
-
</
|
249
|
-
<tr>
|
250
|
-
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
251
|
-
<td>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
252
|
-
</td>
|
367
|
+
<td class="parameter_name"><p>display</p></td>
|
368
|
+
<td class="parameter_description"><p>an X display</p></td>
|
369
|
+
<td class="parameter_annotations"> </td>
|
253
370
|
</tr>
|
254
371
|
<tr>
|
255
|
-
<td
|
256
|
-
<td
|
257
|
-
</td>
|
372
|
+
<td class="parameter_name"><p>screen</p></td>
|
373
|
+
<td class="parameter_description"><p>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
374
|
+
</p></td>
|
375
|
+
<td class="parameter_annotations"> </td>
|
258
376
|
</tr>
|
259
377
|
</tbody>
|
260
378
|
</table></div>
|
379
|
+
</div>
|
380
|
+
<div class="refsect3">
|
381
|
+
<a name="id-1.3.4.11.3.6"></a><h4>Returns</h4>
|
382
|
+
<p> a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> object, owned by Pango. </p>
|
383
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
384
|
+
</div>
|
261
385
|
<p class="since">Since 1.2</p>
|
262
386
|
</div>
|
263
387
|
<hr>
|
264
388
|
<div class="refsect2">
|
265
|
-
<a name="pango-xft-set-default-substitute"></a><h3>pango_xft_set_default_substitute
|
266
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
<
|
272
|
-
Sets a function that will be called to do final configuration
|
389
|
+
<a name="pango-xft-set-default-substitute"></a><h3>pango_xft_set_default_substitute ()</h3>
|
390
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
391
|
+
pango_xft_set_default_substitute (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
392
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>,
|
393
|
+
<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftSubstituteFunc" title="PangoXftSubstituteFunc ()"><span class="type">PangoXftSubstituteFunc</span></a> func</code></em>,
|
394
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
395
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
396
|
+
<p>Sets a function that will be called to do final configuration
|
273
397
|
substitution on a <span class="type">FcPattern</span> before it is used to load
|
274
398
|
the font. This function can be used to do things like set
|
275
399
|
hinting and antialiasing options.</p>
|
276
|
-
<div class="
|
400
|
+
<div class="refsect3">
|
401
|
+
<a name="id-1.3.4.11.4.5"></a><h4>Parameters</h4>
|
402
|
+
<div class="informaltable"><table width="100%" border="0">
|
277
403
|
<colgroup>
|
278
|
-
<col
|
279
|
-
<col>
|
404
|
+
<col width="150px" class="parameters_name">
|
405
|
+
<col class="parameters_description">
|
406
|
+
<col width="200px" class="parameters_annotations">
|
280
407
|
</colgroup>
|
281
408
|
<tbody>
|
282
409
|
<tr>
|
283
|
-
<td
|
284
|
-
<td>an X Display</td>
|
410
|
+
<td class="parameter_name"><p>display</p></td>
|
411
|
+
<td class="parameter_description"><p>an X Display</p></td>
|
412
|
+
<td class="parameter_annotations"> </td>
|
285
413
|
</tr>
|
286
414
|
<tr>
|
287
|
-
<td
|
288
|
-
<td>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
289
|
-
</td>
|
415
|
+
<td class="parameter_name"><p>screen</p></td>
|
416
|
+
<td class="parameter_description"><p>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
417
|
+
</p></td>
|
418
|
+
<td class="parameter_annotations"> </td>
|
290
419
|
</tr>
|
291
420
|
<tr>
|
292
|
-
<td
|
293
|
-
<td>function to call to to do final config tweaking
|
294
|
-
on <span class="type">FcPattern</span> objects.</td>
|
421
|
+
<td class="parameter_name"><p>func</p></td>
|
422
|
+
<td class="parameter_description"><p>function to call to to do final config tweaking
|
423
|
+
on <span class="type">FcPattern</span> objects.</p></td>
|
424
|
+
<td class="parameter_annotations"> </td>
|
295
425
|
</tr>
|
296
426
|
<tr>
|
297
|
-
<td
|
298
|
-
<td>data to pass to <em class="parameter"><code>func</code></em>
|
299
|
-
</td>
|
427
|
+
<td class="parameter_name"><p>data</p></td>
|
428
|
+
<td class="parameter_description"><p>data to pass to <em class="parameter"><code>func</code></em>
|
429
|
+
</p></td>
|
430
|
+
<td class="parameter_annotations"> </td>
|
300
431
|
</tr>
|
301
432
|
<tr>
|
302
|
-
<td
|
303
|
-
<td>function to call when <em class="parameter"><code>data</code></em>
|
433
|
+
<td class="parameter_name"><p>notify</p></td>
|
434
|
+
<td class="parameter_description"><p>function to call when <em class="parameter"><code>data</code></em>
|
435
|
+
is no longer used.</p></td>
|
436
|
+
<td class="parameter_annotations"> </td>
|
304
437
|
</tr>
|
305
438
|
</tbody>
|
306
439
|
</table></div>
|
440
|
+
</div>
|
307
441
|
<p class="since">Since 1.2</p>
|
308
442
|
</div>
|
309
443
|
<hr>
|
310
444
|
<div class="refsect2">
|
311
|
-
<a name="PangoXftSubstituteFunc"></a><h3>PangoXftSubstituteFunc
|
312
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
313
|
-
|
314
|
-
<
|
315
|
-
Function type for doing final config tweaking on prepared FcPatterns.</p>
|
316
|
-
<div class="
|
445
|
+
<a name="PangoXftSubstituteFunc"></a><h3>PangoXftSubstituteFunc ()</h3>
|
446
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
447
|
+
<span class="c_punctuation">(</span>*PangoXftSubstituteFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
|
448
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
449
|
+
<p>Function type for doing final config tweaking on prepared FcPatterns.</p>
|
450
|
+
<div class="refsect3">
|
451
|
+
<a name="id-1.3.4.11.5.5"></a><h4>Parameters</h4>
|
452
|
+
<div class="informaltable"><table width="100%" border="0">
|
317
453
|
<colgroup>
|
318
|
-
<col
|
319
|
-
<col>
|
454
|
+
<col width="150px" class="parameters_name">
|
455
|
+
<col class="parameters_description">
|
456
|
+
<col width="200px" class="parameters_annotations">
|
320
457
|
</colgroup>
|
321
458
|
<tbody>
|
322
459
|
<tr>
|
323
|
-
<td
|
324
|
-
<td>the FcPattern to tweak.</td>
|
460
|
+
<td class="parameter_name"><p>pattern</p></td>
|
461
|
+
<td class="parameter_description"><p>the FcPattern to tweak.</p></td>
|
462
|
+
<td class="parameter_annotations"> </td>
|
325
463
|
</tr>
|
326
464
|
<tr>
|
327
|
-
<td
|
328
|
-
<td>user data.</td>
|
465
|
+
<td class="parameter_name"><p>data</p></td>
|
466
|
+
<td class="parameter_description"><p>user data.</p></td>
|
467
|
+
<td class="parameter_annotations"> </td>
|
329
468
|
</tr>
|
330
469
|
</tbody>
|
331
470
|
</table></div>
|
332
471
|
</div>
|
472
|
+
</div>
|
333
473
|
<hr>
|
334
474
|
<div class="refsect2">
|
335
|
-
<a name="pango-xft-substitute-changed"></a><h3>pango_xft_substitute_changed
|
336
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
337
|
-
|
338
|
-
<
|
339
|
-
Call this function any time the results of the
|
475
|
+
<a name="pango-xft-substitute-changed"></a><h3>pango_xft_substitute_changed ()</h3>
|
476
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
477
|
+
pango_xft_substitute_changed (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
478
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);</pre>
|
479
|
+
<p>Call this function any time the results of the
|
340
480
|
default substitution function set with
|
341
|
-
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-set-default-substitute" title="pango_xft_set_default_substitute
|
481
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-set-default-substitute" title="pango_xft_set_default_substitute ()"><code class="function">pango_xft_set_default_substitute()</code></a> change.
|
342
482
|
That is, if your substitution function will return different
|
343
483
|
results for the same input pattern, you must call this function.</p>
|
344
|
-
<div class="
|
484
|
+
<div class="refsect3">
|
485
|
+
<a name="id-1.3.4.11.6.5"></a><h4>Parameters</h4>
|
486
|
+
<div class="informaltable"><table width="100%" border="0">
|
345
487
|
<colgroup>
|
346
|
-
<col
|
347
|
-
<col>
|
488
|
+
<col width="150px" class="parameters_name">
|
489
|
+
<col class="parameters_description">
|
490
|
+
<col width="200px" class="parameters_annotations">
|
348
491
|
</colgroup>
|
349
492
|
<tbody>
|
350
493
|
<tr>
|
351
|
-
<td
|
352
|
-
<td>an X Display</td>
|
494
|
+
<td class="parameter_name"><p>display</p></td>
|
495
|
+
<td class="parameter_description"><p>an X Display</p></td>
|
496
|
+
<td class="parameter_annotations"> </td>
|
353
497
|
</tr>
|
354
498
|
<tr>
|
355
|
-
<td
|
356
|
-
<td>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
357
|
-
</td>
|
499
|
+
<td class="parameter_name"><p>screen</p></td>
|
500
|
+
<td class="parameter_description"><p>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
501
|
+
</p></td>
|
502
|
+
<td class="parameter_annotations"> </td>
|
358
503
|
</tr>
|
359
504
|
</tbody>
|
360
505
|
</table></div>
|
506
|
+
</div>
|
361
507
|
<p class="since">Since 1.2</p>
|
362
508
|
</div>
|
363
509
|
<hr>
|
364
510
|
<div class="refsect2">
|
365
|
-
<a name="pango-xft-shutdown-display"></a><h3>pango_xft_shutdown_display
|
366
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
367
|
-
|
368
|
-
<
|
369
|
-
Release any resources that have been cached for the
|
370
|
-
combination of <em class="parameter"><code>display</code></em>
|
511
|
+
<a name="pango-xft-shutdown-display"></a><h3>pango_xft_shutdown_display ()</h3>
|
512
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
513
|
+
pango_xft_shutdown_display (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
514
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);</pre>
|
515
|
+
<p>Release any resources that have been cached for the
|
516
|
+
combination of <em class="parameter"><code>display</code></em>
|
517
|
+
and <em class="parameter"><code>screen</code></em>
|
518
|
+
. Note that when the
|
371
519
|
X display is closed, resources are released automatically,
|
372
520
|
without needing to call this function.</p>
|
373
|
-
<div class="
|
521
|
+
<div class="refsect3">
|
522
|
+
<a name="id-1.3.4.11.7.5"></a><h4>Parameters</h4>
|
523
|
+
<div class="informaltable"><table width="100%" border="0">
|
374
524
|
<colgroup>
|
375
|
-
<col
|
376
|
-
<col>
|
525
|
+
<col width="150px" class="parameters_name">
|
526
|
+
<col class="parameters_description">
|
527
|
+
<col width="200px" class="parameters_annotations">
|
377
528
|
</colgroup>
|
378
529
|
<tbody>
|
379
530
|
<tr>
|
380
|
-
<td
|
381
|
-
<td>an X display</td>
|
531
|
+
<td class="parameter_name"><p>display</p></td>
|
532
|
+
<td class="parameter_description"><p>an X display</p></td>
|
533
|
+
<td class="parameter_annotations"> </td>
|
382
534
|
</tr>
|
383
535
|
<tr>
|
384
|
-
<td
|
385
|
-
<td>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
386
|
-
</td>
|
536
|
+
<td class="parameter_name"><p>screen</p></td>
|
537
|
+
<td class="parameter_description"><p>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
538
|
+
</p></td>
|
539
|
+
<td class="parameter_annotations"> </td>
|
387
540
|
</tr>
|
388
541
|
</tbody>
|
389
542
|
</table></div>
|
543
|
+
</div>
|
390
544
|
<p class="since">Since 1.2</p>
|
391
545
|
</div>
|
392
546
|
<hr>
|
393
547
|
<div class="refsect2">
|
394
|
-
<a name="pango-xft-font-get-font"></a><h3>pango_xft_font_get_font
|
395
|
-
<pre class="programlisting"><span class="returnvalue">XftFont</span>
|
396
|
-
<
|
397
|
-
Returns the XftFont of a font.</p>
|
398
|
-
<div class="
|
548
|
+
<a name="pango-xft-font-get-font"></a><h3>pango_xft_font_get_font ()</h3>
|
549
|
+
<pre class="programlisting"><span class="returnvalue">XftFont</span> *
|
550
|
+
pango_xft_font_get_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
551
|
+
<p>Returns the XftFont of a font.</p>
|
552
|
+
<div class="refsect3">
|
553
|
+
<a name="id-1.3.4.11.8.5"></a><h4>Parameters</h4>
|
554
|
+
<div class="informaltable"><table width="100%" border="0">
|
399
555
|
<colgroup>
|
400
|
-
<col
|
401
|
-
<col>
|
556
|
+
<col width="150px" class="parameters_name">
|
557
|
+
<col class="parameters_description">
|
558
|
+
<col width="200px" class="parameters_annotations">
|
402
559
|
</colgroup>
|
403
|
-
<tbody>
|
404
|
-
<
|
405
|
-
<td><p
|
406
|
-
<td
|
407
|
-
</tr>
|
408
|
-
<tr>
|
409
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
410
|
-
<td>the XftFont associated to <em class="parameter"><code>font</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>font</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
411
|
-
</tr>
|
412
|
-
</tbody>
|
560
|
+
<tbody><tr>
|
561
|
+
<td class="parameter_name"><p>font</p></td>
|
562
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p></td>
|
563
|
+
<td class="parameter_annotations"> </td>
|
564
|
+
</tr></tbody>
|
413
565
|
</table></div>
|
414
566
|
</div>
|
567
|
+
<div class="refsect3">
|
568
|
+
<a name="id-1.3.4.11.8.6"></a><h4>Returns</h4>
|
569
|
+
<p> the XftFont associated to <em class="parameter"><code>font</code></em>
|
570
|
+
, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>font</code></em>
|
571
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
572
|
+
<p></p>
|
573
|
+
</div>
|
574
|
+
</div>
|
415
575
|
<hr>
|
416
576
|
<div class="refsect2">
|
417
|
-
<a name="pango-xft-font-get-display"></a><h3>pango_xft_font_get_display
|
418
|
-
<pre class="programlisting"><span class="returnvalue">Display</span>
|
419
|
-
<
|
420
|
-
Returns the X display of the XftFont of a font.</p>
|
421
|
-
<div class="
|
577
|
+
<a name="pango-xft-font-get-display"></a><h3>pango_xft_font_get_display ()</h3>
|
578
|
+
<pre class="programlisting"><span class="returnvalue">Display</span> *
|
579
|
+
pango_xft_font_get_display (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
580
|
+
<p>Returns the X display of the XftFont of a font.</p>
|
581
|
+
<div class="refsect3">
|
582
|
+
<a name="id-1.3.4.11.9.5"></a><h4>Parameters</h4>
|
583
|
+
<div class="informaltable"><table width="100%" border="0">
|
422
584
|
<colgroup>
|
423
|
-
<col
|
424
|
-
<col>
|
585
|
+
<col width="150px" class="parameters_name">
|
586
|
+
<col class="parameters_description">
|
587
|
+
<col width="200px" class="parameters_annotations">
|
425
588
|
</colgroup>
|
426
|
-
<tbody>
|
427
|
-
<
|
428
|
-
<td><p
|
429
|
-
<td
|
430
|
-
</tr>
|
431
|
-
<tr>
|
432
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
433
|
-
<td>the X display of the XftFont associated to <em class="parameter"><code>font</code></em>.</td>
|
434
|
-
</tr>
|
435
|
-
</tbody>
|
589
|
+
<tbody><tr>
|
590
|
+
<td class="parameter_name"><p>font</p></td>
|
591
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p></td>
|
592
|
+
<td class="parameter_annotations"> </td>
|
593
|
+
</tr></tbody>
|
436
594
|
</table></div>
|
437
595
|
</div>
|
596
|
+
<div class="refsect3">
|
597
|
+
<a name="id-1.3.4.11.9.6"></a><h4>Returns</h4>
|
598
|
+
<p> the X display of the XftFont associated to <em class="parameter"><code>font</code></em>
|
599
|
+
.</p>
|
600
|
+
<p></p>
|
601
|
+
</div>
|
602
|
+
</div>
|
438
603
|
<hr>
|
439
604
|
<div class="refsect2">
|
440
|
-
<a name="pango-xft-font-has-char"></a><h3>pango_xft_font_has_char
|
441
|
-
<pre class="programlisting"><a href="
|
442
|
-
|
443
|
-
<
|
444
|
-
<
|
445
|
-
<p
|
446
|
-
</
|
447
|
-
|
448
|
-
|
449
|
-
<
|
450
|
-
|
451
|
-
<div class="
|
605
|
+
<a name="pango-xft-font-has-char"></a><h3>pango_xft_font_has_char ()</h3>
|
606
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
607
|
+
pango_xft_font_has_char (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
608
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);</pre>
|
609
|
+
<div class="warning"><p><code class="literal">pango_xft_font_has_char</code> is deprecated and should not be used in newly-written code.</p></div>
|
610
|
+
<p>Determines whether <em class="parameter"><code>font</code></em>
|
611
|
+
has a glyph for the codepoint <em class="parameter"><code>wc</code></em>
|
612
|
+
.</p>
|
613
|
+
<p>Use <a class="link" href="PangoFcFont.html#pango-fc-font-has-char" title="pango_fc_font_has_char ()"><code class="function">pango_fc_font_has_char()</code></a> instead.</p>
|
614
|
+
<div class="refsect3">
|
615
|
+
<a name="id-1.3.4.11.10.8"></a><h4>Parameters</h4>
|
616
|
+
<div class="informaltable"><table width="100%" border="0">
|
452
617
|
<colgroup>
|
453
|
-
<col
|
454
|
-
<col>
|
618
|
+
<col width="150px" class="parameters_name">
|
619
|
+
<col class="parameters_description">
|
620
|
+
<col width="200px" class="parameters_annotations">
|
455
621
|
</colgroup>
|
456
622
|
<tbody>
|
457
623
|
<tr>
|
458
|
-
<td
|
459
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> for the Xft backend</td>
|
460
|
-
</
|
461
|
-
<tr>
|
462
|
-
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
463
|
-
<td>Unicode codepoint to look up</td>
|
624
|
+
<td class="parameter_name"><p>font</p></td>
|
625
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> for the Xft backend</p></td>
|
626
|
+
<td class="parameter_annotations"> </td>
|
464
627
|
</tr>
|
465
628
|
<tr>
|
466
|
-
<td
|
467
|
-
<td>
|
468
|
-
<
|
629
|
+
<td class="parameter_name"><p>wc</p></td>
|
630
|
+
<td class="parameter_description"><p>Unicode codepoint to look up</p></td>
|
631
|
+
<td class="parameter_annotations"> </td>
|
469
632
|
</tr>
|
470
633
|
</tbody>
|
471
634
|
</table></div>
|
635
|
+
</div>
|
636
|
+
<div class="refsect3">
|
637
|
+
<a name="id-1.3.4.11.10.9"></a><h4>Returns</h4>
|
638
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>font</code></em>
|
639
|
+
has the requested codepoint.</p>
|
640
|
+
<p></p>
|
641
|
+
</div>
|
472
642
|
<p class="since">Since 1.2</p>
|
473
643
|
</div>
|
474
644
|
<hr>
|
475
645
|
<div class="refsect2">
|
476
|
-
<a name="pango-xft-font-lock-face"></a><h3>pango_xft_font_lock_face
|
477
|
-
<pre class="programlisting"><span class="returnvalue">FT_Face</span>
|
478
|
-
<
|
479
|
-
<
|
480
|
-
<p
|
481
|
-
</div>
|
482
|
-
<p>
|
483
|
-
Gets the FreeType <span class="type">FT_Face</span> associated with a font,
|
646
|
+
<a name="pango-xft-font-lock-face"></a><h3>pango_xft_font_lock_face ()</h3>
|
647
|
+
<pre class="programlisting"><span class="returnvalue">FT_Face</span>
|
648
|
+
pango_xft_font_lock_face (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
649
|
+
<div class="warning"><p><code class="literal">pango_xft_font_lock_face</code> is deprecated and should not be used in newly-written code.</p></div>
|
650
|
+
<p>Gets the FreeType <span class="type">FT_Face</span> associated with a font,
|
484
651
|
This face will be kept around until you call
|
485
|
-
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-unlock-face" title="pango_xft_font_unlock_face
|
486
|
-
<p>
|
487
|
-
|
488
|
-
<
|
652
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-unlock-face" title="pango_xft_font_unlock_face ()"><code class="function">pango_xft_font_unlock_face()</code></a>.</p>
|
653
|
+
<p>Use <a class="link" href="PangoFcFont.html#pango-fc-font-lock-face" title="pango_fc_font_lock_face ()"><code class="function">pango_fc_font_lock_face()</code></a> instead.</p>
|
654
|
+
<div class="refsect3">
|
655
|
+
<a name="id-1.3.4.11.11.8"></a><h4>Parameters</h4>
|
656
|
+
<div class="informaltable"><table width="100%" border="0">
|
489
657
|
<colgroup>
|
490
|
-
<col
|
491
|
-
<col>
|
658
|
+
<col width="150px" class="parameters_name">
|
659
|
+
<col class="parameters_description">
|
660
|
+
<col width="200px" class="parameters_annotations">
|
492
661
|
</colgroup>
|
493
|
-
<tbody>
|
494
|
-
<
|
495
|
-
<td><p
|
496
|
-
<td
|
497
|
-
</tr>
|
498
|
-
<tr>
|
499
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
500
|
-
<td>the FreeType <span class="type">FT_Face</span> associated with <em class="parameter"><code>font</code></em>.</td>
|
501
|
-
</tr>
|
502
|
-
</tbody>
|
662
|
+
<tbody><tr>
|
663
|
+
<td class="parameter_name"><p>font</p></td>
|
664
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p></td>
|
665
|
+
<td class="parameter_annotations"> </td>
|
666
|
+
</tr></tbody>
|
503
667
|
</table></div>
|
668
|
+
</div>
|
669
|
+
<div class="refsect3">
|
670
|
+
<a name="id-1.3.4.11.11.9"></a><h4>Returns</h4>
|
671
|
+
<p> the FreeType <span class="type">FT_Face</span> associated with <em class="parameter"><code>font</code></em>
|
672
|
+
.</p>
|
673
|
+
<p></p>
|
674
|
+
</div>
|
504
675
|
<p class="since">Since 1.2</p>
|
505
676
|
</div>
|
506
677
|
<hr>
|
507
678
|
<div class="refsect2">
|
508
|
-
<a name="pango-xft-font-unlock-face"></a><h3>pango_xft_font_unlock_face
|
509
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
510
|
-
<
|
511
|
-
<
|
512
|
-
<p
|
513
|
-
</
|
514
|
-
<p>
|
515
|
-
|
516
|
-
<a
|
517
|
-
<
|
518
|
-
Use <a class="link" href="PangoFcFont.html#pango-fc-font-unlock-face" title="pango_fc_font_unlock_face ()"><code class="function">pango_fc_font_unlock_face()</code></a> instead.</p>
|
519
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
679
|
+
<a name="pango-xft-font-unlock-face"></a><h3>pango_xft_font_unlock_face ()</h3>
|
680
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
681
|
+
pango_xft_font_unlock_face (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
682
|
+
<div class="warning"><p><code class="literal">pango_xft_font_unlock_face</code> is deprecated and should not be used in newly-written code.</p></div>
|
683
|
+
<p>Releases a font previously obtained with
|
684
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-lock-face" title="pango_xft_font_lock_face ()"><code class="function">pango_xft_font_lock_face()</code></a>.</p>
|
685
|
+
<p>Use <a class="link" href="PangoFcFont.html#pango-fc-font-unlock-face" title="pango_fc_font_unlock_face ()"><code class="function">pango_fc_font_unlock_face()</code></a> instead.</p>
|
686
|
+
<div class="refsect3">
|
687
|
+
<a name="id-1.3.4.11.12.8"></a><h4>Parameters</h4>
|
688
|
+
<div class="informaltable"><table width="100%" border="0">
|
520
689
|
<colgroup>
|
521
|
-
<col
|
522
|
-
<col>
|
690
|
+
<col width="150px" class="parameters_name">
|
691
|
+
<col class="parameters_description">
|
692
|
+
<col width="200px" class="parameters_annotations">
|
523
693
|
</colgroup>
|
524
694
|
<tbody><tr>
|
525
|
-
<td
|
526
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</td>
|
695
|
+
<td class="parameter_name"><p>font</p></td>
|
696
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p></td>
|
697
|
+
<td class="parameter_annotations"> </td>
|
527
698
|
</tr></tbody>
|
528
699
|
</table></div>
|
700
|
+
</div>
|
529
701
|
<p class="since">Since 1.2</p>
|
530
702
|
</div>
|
531
703
|
<hr>
|
532
704
|
<div class="refsect2">
|
533
|
-
<a name="pango-xft-font-get-glyph"></a><h3>pango_xft_font_get_glyph
|
534
|
-
<pre class="programlisting"><a href="
|
535
|
-
|
536
|
-
<
|
537
|
-
<
|
538
|
-
<p
|
539
|
-
</
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
<
|
545
|
-
|
546
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
705
|
+
<a name="pango-xft-font-get-glyph"></a><h3>pango_xft_font_get_glyph ()</h3>
|
706
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
707
|
+
pango_xft_font_get_glyph (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
708
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);</pre>
|
709
|
+
<div class="warning"><p><code class="literal">pango_xft_font_get_glyph</code> is deprecated and should not be used in newly-written code.</p></div>
|
710
|
+
<p>Gets the glyph index for a given Unicode character
|
711
|
+
for <em class="parameter"><code>font</code></em>
|
712
|
+
. If you only want to determine
|
713
|
+
whether the font has the glyph, use <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-has-char" title="pango_xft_font_has_char ()"><code class="function">pango_xft_font_has_char()</code></a>.</p>
|
714
|
+
<p>Use <a class="link" href="PangoFcFont.html#pango-fc-font-get-glyph" title="pango_fc_font_get_glyph ()"><code class="function">pango_fc_font_get_glyph()</code></a> instead.</p>
|
715
|
+
<div class="refsect3">
|
716
|
+
<a name="id-1.3.4.11.13.8"></a><h4>Parameters</h4>
|
717
|
+
<div class="informaltable"><table width="100%" border="0">
|
547
718
|
<colgroup>
|
548
|
-
<col
|
549
|
-
<col>
|
719
|
+
<col width="150px" class="parameters_name">
|
720
|
+
<col class="parameters_description">
|
721
|
+
<col width="200px" class="parameters_annotations">
|
550
722
|
</colgroup>
|
551
723
|
<tbody>
|
552
724
|
<tr>
|
553
|
-
<td
|
554
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> for the Xft backend</td>
|
725
|
+
<td class="parameter_name"><p>font</p></td>
|
726
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> for the Xft backend</p></td>
|
727
|
+
<td class="parameter_annotations"> </td>
|
555
728
|
</tr>
|
556
729
|
<tr>
|
557
|
-
<td
|
558
|
-
<td>Unicode codepoint to look up</td>
|
559
|
-
</
|
560
|
-
<tr>
|
561
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
562
|
-
<td>the glyph index, or 0, if the Unicode
|
563
|
-
character does not exist in the font.</td>
|
730
|
+
<td class="parameter_name"><p>wc</p></td>
|
731
|
+
<td class="parameter_description"><p>Unicode codepoint to look up</p></td>
|
732
|
+
<td class="parameter_annotations"> </td>
|
564
733
|
</tr>
|
565
734
|
</tbody>
|
566
735
|
</table></div>
|
736
|
+
</div>
|
737
|
+
<div class="refsect3">
|
738
|
+
<a name="id-1.3.4.11.13.9"></a><h4>Returns</h4>
|
739
|
+
<p> the glyph index, or 0, if the Unicode
|
740
|
+
character does not exist in the font.</p>
|
741
|
+
<p></p>
|
742
|
+
</div>
|
567
743
|
<p class="since">Since 1.2</p>
|
568
744
|
</div>
|
569
745
|
<hr>
|
570
746
|
<div class="refsect2">
|
571
|
-
<a name="pango-xft-font-get-unknown-glyph"></a><h3>pango_xft_font_get_unknown_glyph
|
572
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a>
|
573
|
-
|
574
|
-
<
|
575
|
-
<
|
576
|
-
<p
|
577
|
-
|
578
|
-
<p>
|
579
|
-
Returns the index of a glyph suitable for drawing <em class="parameter"><code>wc</code></em> as an
|
747
|
+
<a name="pango-xft-font-get-unknown-glyph"></a><h3>pango_xft_font_get_unknown_glyph ()</h3>
|
748
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a>
|
749
|
+
pango_xft_font_get_unknown_glyph (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
750
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);</pre>
|
751
|
+
<div class="warning"><p><code class="literal">pango_xft_font_get_unknown_glyph</code> is deprecated and should not be used in newly-written code.</p></div>
|
752
|
+
<p>Returns the index of a glyph suitable for drawing <em class="parameter"><code>wc</code></em>
|
753
|
+
as an
|
580
754
|
unknown character.</p>
|
581
|
-
<p>
|
582
|
-
|
583
|
-
<
|
755
|
+
<p>Use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS" title="PANGO_GET_UNKNOWN_GLYPH()"><code class="function">PANGO_GET_UNKNOWN_GLYPH()</code></a> instead.</p>
|
756
|
+
<div class="refsect3">
|
757
|
+
<a name="id-1.3.4.11.14.7"></a><h4>Parameters</h4>
|
758
|
+
<div class="informaltable"><table width="100%" border="0">
|
584
759
|
<colgroup>
|
585
|
-
<col
|
586
|
-
<col>
|
760
|
+
<col width="150px" class="parameters_name">
|
761
|
+
<col class="parameters_description">
|
762
|
+
<col width="200px" class="parameters_annotations">
|
587
763
|
</colgroup>
|
588
764
|
<tbody>
|
589
765
|
<tr>
|
590
|
-
<td
|
591
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</td>
|
592
|
-
</
|
593
|
-
<tr>
|
594
|
-
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
595
|
-
<td>the Unicode character for which a glyph is needed.</td>
|
766
|
+
<td class="parameter_name"><p>font</p></td>
|
767
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p></td>
|
768
|
+
<td class="parameter_annotations"> </td>
|
596
769
|
</tr>
|
597
770
|
<tr>
|
598
|
-
<td
|
599
|
-
<td
|
771
|
+
<td class="parameter_name"><p>wc</p></td>
|
772
|
+
<td class="parameter_description"><p>the Unicode character for which a glyph is needed.</p></td>
|
773
|
+
<td class="parameter_annotations"> </td>
|
600
774
|
</tr>
|
601
775
|
</tbody>
|
602
776
|
</table></div>
|
603
777
|
</div>
|
604
|
-
<
|
605
|
-
<
|
606
|
-
<a
|
607
|
-
|
608
|
-
<p>
|
609
|
-
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> is a subclass of <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> used for rendering
|
610
|
-
with Pango's Xft backend. It can be used directly, or it can be
|
611
|
-
further subclassed to modify exactly how drawing of individual
|
612
|
-
elements occurs.</p>
|
613
|
-
<p class="since">Since 1.8</p>
|
778
|
+
<div class="refsect3">
|
779
|
+
<a name="id-1.3.4.11.14.8"></a><h4>Returns</h4>
|
780
|
+
<p> a glyph index into <em class="parameter"><code>font</code></em>
|
781
|
+
.</p>
|
782
|
+
<p></p>
|
614
783
|
</div>
|
615
|
-
<hr>
|
616
|
-
<div class="refsect2">
|
617
|
-
<a name="PangoXftRendererClass"></a><h3>struct PangoXftRendererClass</h3>
|
618
|
-
<pre class="programlisting">struct PangoXftRendererClass {
|
619
|
-
void (*composite_trapezoids) (PangoXftRenderer *xftrenderer,
|
620
|
-
PangoRenderPart part,
|
621
|
-
XTrapezoid *trapezoids,
|
622
|
-
int n_trapezoids);
|
623
|
-
void (*composite_glyphs) (PangoXftRenderer *xftrenderer,
|
624
|
-
XftFont *xft_font,
|
625
|
-
XftGlyphSpec *glyphs,
|
626
|
-
int n_glyphs);
|
627
|
-
};
|
628
|
-
</pre>
|
629
|
-
<p>
|
630
|
-
The class structure for <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a></p>
|
631
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
632
|
-
<colgroup>
|
633
|
-
<col align="left" valign="top">
|
634
|
-
<col>
|
635
|
-
</colgroup>
|
636
|
-
<tbody>
|
637
|
-
<tr>
|
638
|
-
<td><p><span class="term"><em class="structfield"><code><a name="PangoXftRendererClass.composite-trapezoids"></a>composite_trapezoids</code></em> ()</span></p></td>
|
639
|
-
<td>draw the specified trapezoids using
|
640
|
-
the current color and other attributes for <em class="parameter"><code>part</code></em>
|
641
|
-
</td>
|
642
|
-
</tr>
|
643
|
-
<tr>
|
644
|
-
<td><p><span class="term"><em class="structfield"><code><a name="PangoXftRendererClass.composite-glyphs"></a>composite_glyphs</code></em> ()</span></p></td>
|
645
|
-
<td>draw the specified glyphs using
|
646
|
-
the current foreground color and other foreground
|
647
|
-
attributes</td>
|
648
|
-
</tr>
|
649
|
-
</tbody>
|
650
|
-
</table></div>
|
651
|
-
<p class="since">Since 1.8</p>
|
652
784
|
</div>
|
653
785
|
<hr>
|
654
786
|
<div class="refsect2">
|
655
|
-
<a name="pango-xft-renderer-new"></a><h3>pango_xft_renderer_new
|
656
|
-
<pre class="programlisting"><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="returnvalue">PangoRenderer</span></a>
|
657
|
-
|
658
|
-
<
|
659
|
-
Create a new <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> to allow rendering Pango objects
|
660
|
-
with the Xft library. You must call <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-set-draw" title="pango_xft_renderer_set_draw
|
787
|
+
<a name="pango-xft-renderer-new"></a><h3>pango_xft_renderer_new ()</h3>
|
788
|
+
<pre class="programlisting"><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="returnvalue">PangoRenderer</span></a> *
|
789
|
+
pango_xft_renderer_new (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
790
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);</pre>
|
791
|
+
<p>Create a new <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> to allow rendering Pango objects
|
792
|
+
with the Xft library. You must call <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-set-draw" title="pango_xft_renderer_set_draw ()"><code class="function">pango_xft_renderer_set_draw()</code></a> before
|
661
793
|
using the renderer.</p>
|
662
|
-
<div class="
|
794
|
+
<div class="refsect3">
|
795
|
+
<a name="id-1.3.4.11.15.5"></a><h4>Parameters</h4>
|
796
|
+
<div class="informaltable"><table width="100%" border="0">
|
663
797
|
<colgroup>
|
664
|
-
<col
|
665
|
-
<col>
|
798
|
+
<col width="150px" class="parameters_name">
|
799
|
+
<col class="parameters_description">
|
800
|
+
<col width="200px" class="parameters_annotations">
|
666
801
|
</colgroup>
|
667
802
|
<tbody>
|
668
803
|
<tr>
|
669
|
-
<td
|
670
|
-
<td>an X display</td>
|
671
|
-
</
|
672
|
-
<tr>
|
673
|
-
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
674
|
-
<td>the index of the screen for <em class="parameter"><code>display</code></em> to which rendering will be done</td>
|
804
|
+
<td class="parameter_name"><p>display</p></td>
|
805
|
+
<td class="parameter_description"><p>an X display</p></td>
|
806
|
+
<td class="parameter_annotations"> </td>
|
675
807
|
</tr>
|
676
808
|
<tr>
|
677
|
-
<td
|
678
|
-
<td>the
|
679
|
-
|
809
|
+
<td class="parameter_name"><p>screen</p></td>
|
810
|
+
<td class="parameter_description"><p>the index of the screen for <em class="parameter"><code>display</code></em>
|
811
|
+
to which rendering will be done</p></td>
|
812
|
+
<td class="parameter_annotations"> </td>
|
680
813
|
</tr>
|
681
814
|
</tbody>
|
682
815
|
</table></div>
|
816
|
+
</div>
|
817
|
+
<div class="refsect3">
|
818
|
+
<a name="id-1.3.4.11.15.6"></a><h4>Returns</h4>
|
819
|
+
<p> the newly created <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a>, which should
|
820
|
+
be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
821
|
+
<p></p>
|
822
|
+
</div>
|
683
823
|
<p class="since">Since 1.8</p>
|
684
824
|
</div>
|
685
825
|
<hr>
|
686
826
|
<div class="refsect2">
|
687
|
-
<a name="pango-xft-renderer-set-draw"></a><h3>pango_xft_renderer_set_draw
|
688
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
689
|
-
|
690
|
-
<
|
691
|
-
Sets the <span class="type">XftDraw</span> object that the renderer is drawing to.
|
827
|
+
<a name="pango-xft-renderer-set-draw"></a><h3>pango_xft_renderer_set_draw ()</h3>
|
828
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
829
|
+
pango_xft_renderer_set_draw (<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> *xftrenderer</code></em>,
|
830
|
+
<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>);</pre>
|
831
|
+
<p>Sets the <span class="type">XftDraw</span> object that the renderer is drawing to.
|
692
832
|
The renderer must not be currently active.</p>
|
693
|
-
<div class="
|
833
|
+
<div class="refsect3">
|
834
|
+
<a name="id-1.3.4.11.16.5"></a><h4>Parameters</h4>
|
835
|
+
<div class="informaltable"><table width="100%" border="0">
|
694
836
|
<colgroup>
|
695
|
-
<col
|
696
|
-
<col>
|
837
|
+
<col width="150px" class="parameters_name">
|
838
|
+
<col class="parameters_description">
|
839
|
+
<col width="200px" class="parameters_annotations">
|
697
840
|
</colgroup>
|
698
841
|
<tbody>
|
699
842
|
<tr>
|
700
|
-
<td
|
701
|
-
<td>a <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a>
|
702
|
-
</td>
|
843
|
+
<td class="parameter_name"><p>xftrenderer</p></td>
|
844
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a></p></td>
|
845
|
+
<td class="parameter_annotations"> </td>
|
703
846
|
</tr>
|
704
847
|
<tr>
|
705
|
-
<td
|
706
|
-
<td>a <span class="type">XftDraw</span>
|
707
|
-
</td>
|
848
|
+
<td class="parameter_name"><p>draw</p></td>
|
849
|
+
<td class="parameter_description"><p>a <span class="type">XftDraw</span></p></td>
|
850
|
+
<td class="parameter_annotations"> </td>
|
708
851
|
</tr>
|
709
852
|
</tbody>
|
710
853
|
</table></div>
|
854
|
+
</div>
|
711
855
|
<p class="since">Since 1.8</p>
|
712
856
|
</div>
|
713
857
|
<hr>
|
714
858
|
<div class="refsect2">
|
715
|
-
<a name="pango-xft-renderer-set-default-color"></a><h3>pango_xft_renderer_set_default_color
|
716
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
717
|
-
|
718
|
-
|
719
|
-
<p>
|
720
|
-
|
721
|
-
<
|
859
|
+
<a name="pango-xft-renderer-set-default-color"></a><h3>pango_xft_renderer_set_default_color ()</h3>
|
860
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
861
|
+
pango_xft_renderer_set_default_color (<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> *xftrenderer</code></em>,
|
862
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *default_color</code></em>);</pre>
|
863
|
+
<p>Sets the default foreground color for a <span class="type">XftRenderer</span>.</p>
|
864
|
+
<div class="refsect3">
|
865
|
+
<a name="id-1.3.4.11.17.5"></a><h4>Parameters</h4>
|
866
|
+
<div class="informaltable"><table width="100%" border="0">
|
722
867
|
<colgroup>
|
723
|
-
<col
|
724
|
-
<col>
|
868
|
+
<col width="150px" class="parameters_name">
|
869
|
+
<col class="parameters_description">
|
870
|
+
<col width="200px" class="parameters_annotations">
|
725
871
|
</colgroup>
|
726
872
|
<tbody>
|
727
873
|
<tr>
|
728
|
-
<td
|
729
|
-
<td>a <span class="type">XftRenderer</span>
|
730
|
-
</td>
|
874
|
+
<td class="parameter_name"><p>xftrenderer</p></td>
|
875
|
+
<td class="parameter_description"><p>a <span class="type">XftRenderer</span></p></td>
|
876
|
+
<td class="parameter_annotations"> </td>
|
731
877
|
</tr>
|
732
878
|
<tr>
|
733
|
-
<td
|
734
|
-
<td>the default foreground color</td>
|
879
|
+
<td class="parameter_name"><p>default_color</p></td>
|
880
|
+
<td class="parameter_description"><p>the default foreground color</p></td>
|
881
|
+
<td class="parameter_annotations"> </td>
|
735
882
|
</tr>
|
736
883
|
</tbody>
|
737
884
|
</table></div>
|
885
|
+
</div>
|
738
886
|
<p class="since">Since 1.8</p>
|
739
887
|
</div>
|
740
888
|
<hr>
|
741
889
|
<div class="refsect2">
|
742
|
-
<a name="pango-xft-render"></a><h3>pango_xft_render
|
743
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
<
|
750
|
-
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an <span class="type">XftDraw</span> object wrapping an X drawable.</p>
|
751
|
-
<div class="
|
890
|
+
<a name="pango-xft-render"></a><h3>pango_xft_render ()</h3>
|
891
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
892
|
+
pango_xft_render (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
893
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
894
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
895
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
896
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
897
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
898
|
+
<p>Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an <span class="type">XftDraw</span> object wrapping an X drawable.</p>
|
899
|
+
<div class="refsect3">
|
900
|
+
<a name="id-1.3.4.11.18.5"></a><h4>Parameters</h4>
|
901
|
+
<div class="informaltable"><table width="100%" border="0">
|
752
902
|
<colgroup>
|
753
|
-
<col
|
754
|
-
<col>
|
903
|
+
<col width="150px" class="parameters_name">
|
904
|
+
<col class="parameters_description">
|
905
|
+
<col width="200px" class="parameters_annotations">
|
755
906
|
</colgroup>
|
756
907
|
<tbody>
|
757
908
|
<tr>
|
758
|
-
<td
|
759
|
-
<td>the <span class="type">XftDraw</span> object.</td>
|
909
|
+
<td class="parameter_name"><p>draw</p></td>
|
910
|
+
<td class="parameter_description"><p>the <span class="type">XftDraw</span> object.</p></td>
|
911
|
+
<td class="parameter_annotations"> </td>
|
760
912
|
</tr>
|
761
913
|
<tr>
|
762
|
-
<td
|
763
|
-
<td>the color in which to draw the string</td>
|
914
|
+
<td class="parameter_name"><p>color</p></td>
|
915
|
+
<td class="parameter_description"><p>the color in which to draw the string</p></td>
|
916
|
+
<td class="parameter_annotations"> </td>
|
764
917
|
</tr>
|
765
918
|
<tr>
|
766
|
-
<td
|
767
|
-
<td>the font in which to draw the string</td>
|
919
|
+
<td class="parameter_name"><p>font</p></td>
|
920
|
+
<td class="parameter_description"><p>the font in which to draw the string</p></td>
|
921
|
+
<td class="parameter_annotations"> </td>
|
768
922
|
</tr>
|
769
923
|
<tr>
|
770
|
-
<td
|
771
|
-
<td>the glyph string to draw</td>
|
924
|
+
<td class="parameter_name"><p>glyphs</p></td>
|
925
|
+
<td class="parameter_description"><p>the glyph string to draw</p></td>
|
926
|
+
<td class="parameter_annotations"> </td>
|
772
927
|
</tr>
|
773
928
|
<tr>
|
774
|
-
<td
|
775
|
-
<td>the x position of start of string (in pixels)</td>
|
929
|
+
<td class="parameter_name"><p>x</p></td>
|
930
|
+
<td class="parameter_description"><p>the x position of start of string (in pixels)</p></td>
|
931
|
+
<td class="parameter_annotations"> </td>
|
776
932
|
</tr>
|
777
933
|
<tr>
|
778
|
-
<td
|
779
|
-
<td>the y position of baseline (in pixels)</td>
|
934
|
+
<td class="parameter_name"><p>y</p></td>
|
935
|
+
<td class="parameter_description"><p>the y position of baseline (in pixels)</p></td>
|
936
|
+
<td class="parameter_annotations"> </td>
|
780
937
|
</tr>
|
781
938
|
</tbody>
|
782
939
|
</table></div>
|
783
940
|
</div>
|
941
|
+
</div>
|
784
942
|
<hr>
|
785
943
|
<div class="refsect2">
|
786
|
-
<a name="pango-xft-picture-render"></a><h3>pango_xft_picture_render
|
787
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
<
|
795
|
-
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an Xrender <span class="type">Picture</span> object.</p>
|
796
|
-
<div class="
|
944
|
+
<a name="pango-xft-picture-render"></a><h3>pango_xft_picture_render ()</h3>
|
945
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
946
|
+
pango_xft_picture_render (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
947
|
+
<em class="parameter"><code><span class="type">Picture</span> src_picture</code></em>,
|
948
|
+
<em class="parameter"><code><span class="type">Picture</span> dest_picture</code></em>,
|
949
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
950
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
951
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
952
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
953
|
+
<p>Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an Xrender <span class="type">Picture</span> object.</p>
|
954
|
+
<div class="refsect3">
|
955
|
+
<a name="id-1.3.4.11.19.5"></a><h4>Parameters</h4>
|
956
|
+
<div class="informaltable"><table width="100%" border="0">
|
797
957
|
<colgroup>
|
798
|
-
<col
|
799
|
-
<col>
|
958
|
+
<col width="150px" class="parameters_name">
|
959
|
+
<col class="parameters_description">
|
960
|
+
<col width="200px" class="parameters_annotations">
|
800
961
|
</colgroup>
|
801
962
|
<tbody>
|
802
963
|
<tr>
|
803
|
-
<td
|
804
|
-
<td>an X display</td>
|
964
|
+
<td class="parameter_name"><p>display</p></td>
|
965
|
+
<td class="parameter_description"><p>an X display</p></td>
|
966
|
+
<td class="parameter_annotations"> </td>
|
805
967
|
</tr>
|
806
968
|
<tr>
|
807
|
-
<td
|
808
|
-
<td>the source picture to draw the string with</td>
|
969
|
+
<td class="parameter_name"><p>src_picture</p></td>
|
970
|
+
<td class="parameter_description"><p>the source picture to draw the string with</p></td>
|
971
|
+
<td class="parameter_annotations"> </td>
|
809
972
|
</tr>
|
810
973
|
<tr>
|
811
|
-
<td
|
812
|
-
<td>the destination picture to draw the string onto</td>
|
974
|
+
<td class="parameter_name"><p>dest_picture</p></td>
|
975
|
+
<td class="parameter_description"><p>the destination picture to draw the string onto</p></td>
|
976
|
+
<td class="parameter_annotations"> </td>
|
813
977
|
</tr>
|
814
978
|
<tr>
|
815
|
-
<td
|
816
|
-
<td>the font in which to draw the string</td>
|
979
|
+
<td class="parameter_name"><p>font</p></td>
|
980
|
+
<td class="parameter_description"><p>the font in which to draw the string</p></td>
|
981
|
+
<td class="parameter_annotations"> </td>
|
817
982
|
</tr>
|
818
983
|
<tr>
|
819
|
-
<td
|
820
|
-
<td>the glyph string to draw</td>
|
984
|
+
<td class="parameter_name"><p>glyphs</p></td>
|
985
|
+
<td class="parameter_description"><p>the glyph string to draw</p></td>
|
986
|
+
<td class="parameter_annotations"> </td>
|
821
987
|
</tr>
|
822
988
|
<tr>
|
823
|
-
<td
|
824
|
-
<td>the x position of start of string (in pixels)</td>
|
989
|
+
<td class="parameter_name"><p>x</p></td>
|
990
|
+
<td class="parameter_description"><p>the x position of start of string (in pixels)</p></td>
|
991
|
+
<td class="parameter_annotations"> </td>
|
825
992
|
</tr>
|
826
993
|
<tr>
|
827
|
-
<td
|
828
|
-
<td>the y position of baseline (in pixels)</td>
|
994
|
+
<td class="parameter_name"><p>y</p></td>
|
995
|
+
<td class="parameter_description"><p>the y position of baseline (in pixels)</p></td>
|
996
|
+
<td class="parameter_annotations"> </td>
|
829
997
|
</tr>
|
830
998
|
</tbody>
|
831
999
|
</table></div>
|
832
1000
|
</div>
|
1001
|
+
</div>
|
833
1002
|
<hr>
|
834
1003
|
<div class="refsect2">
|
835
|
-
<a name="pango-xft-render-transformed"></a><h3>pango_xft_render_transformed
|
836
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
<
|
844
|
-
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a <span class="type">XftDraw</span>, possibly
|
1004
|
+
<a name="pango-xft-render-transformed"></a><h3>pango_xft_render_transformed ()</h3>
|
1005
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1006
|
+
pango_xft_render_transformed (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
1007
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
1008
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
1009
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1010
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
1011
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
1012
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
1013
|
+
<p>Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a <span class="type">XftDraw</span>, possibly
|
845
1014
|
transforming the layed-out coordinates through a transformation
|
846
|
-
matrix. Note that the transformation matrix for <em class="parameter"><code>font</code></em>
|
1015
|
+
matrix. Note that the transformation matrix for <em class="parameter"><code>font</code></em>
|
1016
|
+
is not
|
847
1017
|
changed, so to produce correct rendering results, the <em class="parameter"><code>font</code></em>
|
1018
|
+
|
848
1019
|
must have been loaded using a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> with an identical
|
849
1020
|
transformation matrix to that passed in to this function.</p>
|
850
|
-
<div class="
|
1021
|
+
<div class="refsect3">
|
1022
|
+
<a name="id-1.3.4.11.20.5"></a><h4>Parameters</h4>
|
1023
|
+
<div class="informaltable"><table width="100%" border="0">
|
851
1024
|
<colgroup>
|
852
|
-
<col
|
853
|
-
<col>
|
1025
|
+
<col width="150px" class="parameters_name">
|
1026
|
+
<col class="parameters_description">
|
1027
|
+
<col width="200px" class="parameters_annotations">
|
854
1028
|
</colgroup>
|
855
1029
|
<tbody>
|
856
1030
|
<tr>
|
857
|
-
<td
|
858
|
-
<td>an <span class="type">XftDraw</span>
|
859
|
-
</td>
|
1031
|
+
<td class="parameter_name"><p>draw</p></td>
|
1032
|
+
<td class="parameter_description"><p>an <span class="type">XftDraw</span></p></td>
|
1033
|
+
<td class="parameter_annotations"> </td>
|
860
1034
|
</tr>
|
861
1035
|
<tr>
|
862
|
-
<td
|
863
|
-
<td>the color in which to draw the glyphs</td>
|
1036
|
+
<td class="parameter_name"><p>color</p></td>
|
1037
|
+
<td class="parameter_description"><p>the color in which to draw the glyphs</p></td>
|
1038
|
+
<td class="parameter_annotations"> </td>
|
864
1039
|
</tr>
|
865
1040
|
<tr>
|
866
|
-
<td
|
867
|
-
<td>the font in which to draw the string</td>
|
1041
|
+
<td class="parameter_name"><p>font</p></td>
|
1042
|
+
<td class="parameter_description"><p>the font in which to draw the string</p></td>
|
1043
|
+
<td class="parameter_annotations"> </td>
|
868
1044
|
</tr>
|
869
1045
|
<tr>
|
870
|
-
<td
|
871
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="
|
1046
|
+
<td class="parameter_name"><p>matrix</p></td>
|
1047
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use an identity transformation</p></td>
|
1048
|
+
<td class="parameter_annotations"> </td>
|
872
1049
|
</tr>
|
873
1050
|
<tr>
|
874
|
-
<td
|
875
|
-
<td>the glyph string to draw</td>
|
1051
|
+
<td class="parameter_name"><p>glyphs</p></td>
|
1052
|
+
<td class="parameter_description"><p>the glyph string to draw</p></td>
|
1053
|
+
<td class="parameter_annotations"> </td>
|
876
1054
|
</tr>
|
877
1055
|
<tr>
|
878
|
-
<td
|
879
|
-
<td>the x position of the start of the string (in Pango
|
880
|
-
units in user space coordinates)</td>
|
1056
|
+
<td class="parameter_name"><p>x</p></td>
|
1057
|
+
<td class="parameter_description"><p>the x position of the start of the string (in Pango
|
1058
|
+
units in user space coordinates)</p></td>
|
1059
|
+
<td class="parameter_annotations"> </td>
|
881
1060
|
</tr>
|
882
1061
|
<tr>
|
883
|
-
<td
|
884
|
-
<td>the y position of the baseline (in Pango units
|
885
|
-
in user space coordinates)</td>
|
1062
|
+
<td class="parameter_name"><p>y</p></td>
|
1063
|
+
<td class="parameter_description"><p>the y position of the baseline (in Pango units
|
1064
|
+
in user space coordinates)</p></td>
|
1065
|
+
<td class="parameter_annotations"> </td>
|
886
1066
|
</tr>
|
887
1067
|
</tbody>
|
888
1068
|
</table></div>
|
1069
|
+
</div>
|
889
1070
|
<p class="since">Since 1.8</p>
|
890
1071
|
</div>
|
891
1072
|
<hr>
|
892
1073
|
<div class="refsect2">
|
893
|
-
<a name="pango-xft-render-layout-line"></a><h3>pango_xft_render_layout_line
|
894
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
<
|
900
|
-
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto a <span class="type">XftDraw</span></p>
|
901
|
-
<div class="
|
1074
|
+
<a name="pango-xft-render-layout-line"></a><h3>pango_xft_render_layout_line ()</h3>
|
1075
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1076
|
+
pango_xft_render_layout_line (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
1077
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
1078
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
1079
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
1080
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
1081
|
+
<p>Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto a <span class="type">XftDraw</span></p>
|
1082
|
+
<div class="refsect3">
|
1083
|
+
<a name="id-1.3.4.11.21.5"></a><h4>Parameters</h4>
|
1084
|
+
<div class="informaltable"><table width="100%" border="0">
|
902
1085
|
<colgroup>
|
903
|
-
<col
|
904
|
-
<col>
|
1086
|
+
<col width="150px" class="parameters_name">
|
1087
|
+
<col class="parameters_description">
|
1088
|
+
<col width="200px" class="parameters_annotations">
|
905
1089
|
</colgroup>
|
906
1090
|
<tbody>
|
907
1091
|
<tr>
|
908
|
-
<td
|
909
|
-
<td>an <span class="type">XftDraw</span>
|
910
|
-
</td>
|
1092
|
+
<td class="parameter_name"><p>draw</p></td>
|
1093
|
+
<td class="parameter_description"><p>an <span class="type">XftDraw</span></p></td>
|
1094
|
+
<td class="parameter_annotations"> </td>
|
911
1095
|
</tr>
|
912
1096
|
<tr>
|
913
|
-
<td
|
914
|
-
<td>the foreground color in which to draw the layout line
|
915
|
-
(may be overridden by color attributes)</td>
|
1097
|
+
<td class="parameter_name"><p>color</p></td>
|
1098
|
+
<td class="parameter_description"><p>the foreground color in which to draw the layout line
|
1099
|
+
(may be overridden by color attributes)</p></td>
|
1100
|
+
<td class="parameter_annotations"> </td>
|
916
1101
|
</tr>
|
917
1102
|
<tr>
|
918
|
-
<td
|
919
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
920
|
-
</td>
|
1103
|
+
<td class="parameter_name"><p>line</p></td>
|
1104
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a></p></td>
|
1105
|
+
<td class="parameter_annotations"> </td>
|
921
1106
|
</tr>
|
922
1107
|
<tr>
|
923
|
-
<td
|
924
|
-
<td>the x position of start of string (in Pango units)</td>
|
1108
|
+
<td class="parameter_name"><p>x</p></td>
|
1109
|
+
<td class="parameter_description"><p>the x position of start of string (in Pango units)</p></td>
|
1110
|
+
<td class="parameter_annotations"> </td>
|
925
1111
|
</tr>
|
926
1112
|
<tr>
|
927
|
-
<td
|
928
|
-
<td>the y position of baseline (in Pango units)</td>
|
1113
|
+
<td class="parameter_name"><p>y</p></td>
|
1114
|
+
<td class="parameter_description"><p>the y position of baseline (in Pango units)</p></td>
|
1115
|
+
<td class="parameter_annotations"> </td>
|
929
1116
|
</tr>
|
930
1117
|
</tbody>
|
931
1118
|
</table></div>
|
1119
|
+
</div>
|
932
1120
|
<p class="since">Since 1.8</p>
|
933
1121
|
</div>
|
934
1122
|
<hr>
|
935
1123
|
<div class="refsect2">
|
936
|
-
<a name="pango-xft-render-layout"></a><h3>pango_xft_render_layout
|
937
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
<
|
943
|
-
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> onto a <span class="type">XftDraw</span></p>
|
944
|
-
<div class="
|
1124
|
+
<a name="pango-xft-render-layout"></a><h3>pango_xft_render_layout ()</h3>
|
1125
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1126
|
+
pango_xft_render_layout (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
1127
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
1128
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1129
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
1130
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
1131
|
+
<p>Render a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> onto a <span class="type">XftDraw</span></p>
|
1132
|
+
<div class="refsect3">
|
1133
|
+
<a name="id-1.3.4.11.22.5"></a><h4>Parameters</h4>
|
1134
|
+
<div class="informaltable"><table width="100%" border="0">
|
945
1135
|
<colgroup>
|
946
|
-
<col
|
947
|
-
<col>
|
1136
|
+
<col width="150px" class="parameters_name">
|
1137
|
+
<col class="parameters_description">
|
1138
|
+
<col width="200px" class="parameters_annotations">
|
948
1139
|
</colgroup>
|
949
1140
|
<tbody>
|
950
1141
|
<tr>
|
951
|
-
<td
|
952
|
-
<td>an <span class="type">XftDraw</span>
|
953
|
-
</td>
|
1142
|
+
<td class="parameter_name"><p>draw</p></td>
|
1143
|
+
<td class="parameter_description"><p>an <span class="type">XftDraw</span></p></td>
|
1144
|
+
<td class="parameter_annotations"> </td>
|
954
1145
|
</tr>
|
955
1146
|
<tr>
|
956
|
-
<td
|
957
|
-
<td>the foreground color in which to draw the layout
|
958
|
-
(may be overridden by color attributes)</td>
|
1147
|
+
<td class="parameter_name"><p>color</p></td>
|
1148
|
+
<td class="parameter_description"><p>the foreground color in which to draw the layout
|
1149
|
+
(may be overridden by color attributes)</p></td>
|
1150
|
+
<td class="parameter_annotations"> </td>
|
959
1151
|
</tr>
|
960
1152
|
<tr>
|
961
|
-
<td
|
962
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
963
|
-
</td>
|
1153
|
+
<td class="parameter_name"><p>layout</p></td>
|
1154
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
|
1155
|
+
<td class="parameter_annotations"> </td>
|
1156
|
+
</tr>
|
1157
|
+
<tr>
|
1158
|
+
<td class="parameter_name"><p>x</p></td>
|
1159
|
+
<td class="parameter_description"><p>the X position of the left of the layout (in Pango units)</p></td>
|
1160
|
+
<td class="parameter_annotations"> </td>
|
1161
|
+
</tr>
|
1162
|
+
<tr>
|
1163
|
+
<td class="parameter_name"><p>y</p></td>
|
1164
|
+
<td class="parameter_description"><p>the Y position of the top of the layout (in Pango units)</p></td>
|
1165
|
+
<td class="parameter_annotations"> </td>
|
964
1166
|
</tr>
|
1167
|
+
</tbody>
|
1168
|
+
</table></div>
|
1169
|
+
</div>
|
1170
|
+
<p class="since">Since 1.8</p>
|
1171
|
+
</div>
|
1172
|
+
</div>
|
1173
|
+
<div class="refsect1">
|
1174
|
+
<a name="pango-Xft-Fonts-and-Rendering.other_details"></a><h2>Types and Values</h2>
|
1175
|
+
<div class="refsect2">
|
1176
|
+
<a name="PangoXftFont-struct"></a><h3>PangoXftFont</h3>
|
1177
|
+
<pre class="programlisting">typedef struct _PangoXftFont PangoXftFont;</pre>
|
1178
|
+
<p><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFont"><span class="type">PangoXftFont</span></a> is an implementation of <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> using the Xft
|
1179
|
+
library for rendering. It is used in conjunction with <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFontMap"><span class="type">PangoXftFontMap</span></a>.</p>
|
1180
|
+
</div>
|
1181
|
+
<hr>
|
1182
|
+
<div class="refsect2">
|
1183
|
+
<a name="PangoXftFontMap-struct"></a><h3>PangoXftFontMap</h3>
|
1184
|
+
<pre class="programlisting">typedef struct _PangoXftFontMap PangoXftFontMap;</pre>
|
1185
|
+
<p><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFontMap"><span class="type">PangoXftFontMap</span></a> is an implementation of <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> suitable for
|
1186
|
+
the Xft library as the renderer. It is used in to create fonts of
|
1187
|
+
type <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFont"><span class="type">PangoXftFont</span></a>.</p>
|
1188
|
+
</div>
|
1189
|
+
<hr>
|
1190
|
+
<div class="refsect2">
|
1191
|
+
<a name="PANGO-RENDER-TYPE-XFT:CAPS"></a><h3>PANGO_RENDER_TYPE_XFT</h3>
|
1192
|
+
<pre class="programlisting">#define PANGO_RENDER_TYPE_XFT "PangoRenderXft"
|
1193
|
+
</pre>
|
1194
|
+
<div class="warning"><p><code class="literal">PANGO_RENDER_TYPE_XFT</code> is deprecated and should not be used in newly-written code.</p></div>
|
1195
|
+
<p>A string constant that was used to identify shape engines that work
|
1196
|
+
with the Xft backend. See <a class="link" href="PangoFcFont.html#PANGO-RENDER-TYPE-FC:CAPS" title="PANGO_RENDER_TYPE_FC"><code class="literal">PANGO_RENDER_TYPE_FC</code></a> for the replacement.</p>
|
1197
|
+
</div>
|
1198
|
+
<hr>
|
1199
|
+
<div class="refsect2">
|
1200
|
+
<a name="PangoXftRenderer-struct"></a><h3>struct PangoXftRenderer</h3>
|
1201
|
+
<pre class="programlisting">struct PangoXftRenderer;</pre>
|
1202
|
+
<p><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> is a subclass of <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> used for rendering
|
1203
|
+
with Pango's Xft backend. It can be used directly, or it can be
|
1204
|
+
further subclassed to modify exactly how drawing of individual
|
1205
|
+
elements occurs.</p>
|
1206
|
+
<p class="since">Since 1.8</p>
|
1207
|
+
</div>
|
1208
|
+
<hr>
|
1209
|
+
<div class="refsect2">
|
1210
|
+
<a name="PangoXftRendererClass"></a><h3>struct PangoXftRendererClass</h3>
|
1211
|
+
<pre class="programlisting">struct PangoXftRendererClass {
|
1212
|
+
void (*composite_trapezoids) (PangoXftRenderer *xftrenderer,
|
1213
|
+
PangoRenderPart part,
|
1214
|
+
XTrapezoid *trapezoids,
|
1215
|
+
int n_trapezoids);
|
1216
|
+
void (*composite_glyphs) (PangoXftRenderer *xftrenderer,
|
1217
|
+
XftFont *xft_font,
|
1218
|
+
XftGlyphSpec *glyphs,
|
1219
|
+
int n_glyphs);
|
1220
|
+
};
|
1221
|
+
</pre>
|
1222
|
+
<p>The class structure for <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a></p>
|
1223
|
+
<div class="refsect3">
|
1224
|
+
<a name="id-1.3.4.12.6.5"></a><h4>Members</h4>
|
1225
|
+
<div class="informaltable"><table width="100%" border="0">
|
1226
|
+
<colgroup>
|
1227
|
+
<col width="300px" class="struct_members_name">
|
1228
|
+
<col class="struct_members_description">
|
1229
|
+
<col width="200px" class="struct_members_annotations">
|
1230
|
+
</colgroup>
|
1231
|
+
<tbody>
|
965
1232
|
<tr>
|
966
|
-
<td
|
967
|
-
<td>
|
1233
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoXftRendererClass.composite-trapezoids"></a>composite_trapezoids</code></em> ()</p></td>
|
1234
|
+
<td class="struct_member_description"><p>draw the specified trapezoids using
|
1235
|
+
the current color and other attributes for <em class="parameter"><code>part</code></em>
|
1236
|
+
</p></td>
|
1237
|
+
<td class="struct_member_annotations"> </td>
|
968
1238
|
</tr>
|
969
1239
|
<tr>
|
970
|
-
<td
|
971
|
-
<td>
|
1240
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoXftRendererClass.composite-glyphs"></a>composite_glyphs</code></em> ()</p></td>
|
1241
|
+
<td class="struct_member_description"><p>draw the specified glyphs using
|
1242
|
+
the current foreground color and other foreground
|
1243
|
+
attributes</p></td>
|
1244
|
+
<td class="struct_member_annotations"> </td>
|
972
1245
|
</tr>
|
973
1246
|
</tbody>
|
974
1247
|
</table></div>
|
1248
|
+
</div>
|
975
1249
|
<p class="since">Since 1.8</p>
|
976
1250
|
</div>
|
977
1251
|
</div>
|
978
1252
|
<div class="refsect1">
|
979
1253
|
<a name="pango-Xft-Fonts-and-Rendering.property-details"></a><h2>Property Details</h2>
|
980
1254
|
<div class="refsect2">
|
981
|
-
<a name="PangoXftRenderer--display"></a><h3>The <code class="literal"
|
982
|
-
<pre class="programlisting">
|
1255
|
+
<a name="PangoXftRenderer--display"></a><h3>The <code class="literal">“display”</code> property</h3>
|
1256
|
+
<pre class="programlisting"> “display” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></pre>
|
983
1257
|
<p>The display being rendered to.</p>
|
1258
|
+
<p>Flags: Write / Construct Only</p>
|
984
1259
|
</div>
|
985
1260
|
<hr>
|
986
1261
|
<div class="refsect2">
|
987
|
-
<a name="PangoXftRenderer--screen"></a><h3>The <code class="literal"
|
988
|
-
<pre class="programlisting">
|
1262
|
+
<a name="PangoXftRenderer--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
|
1263
|
+
<pre class="programlisting"> “screen” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
989
1264
|
<p>The screen being rendered to.</p>
|
1265
|
+
<p>Flags: Write / Construct Only</p>
|
990
1266
|
<p>Allowed values: >= 0</p>
|
991
1267
|
<p>Default value: 0</p>
|
992
1268
|
</div>
|
@@ -994,6 +1270,6 @@ Render a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span clas
|
|
994
1270
|
</div>
|
995
1271
|
<div class="footer">
|
996
1272
|
<hr>
|
997
|
-
Generated by GTK-Doc V1.
|
1273
|
+
Generated by GTK-Doc V1.21.1</div>
|
998
1274
|
</body>
|
999
1275
|
</html>
|