pango 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +33 -0
- data/Rakefile +65 -0
- data/ext/pango/depend +12 -0
- data/ext/pango/extconf.rb +90 -0
- data/ext/pango/pango.def +18 -0
- data/ext/pango/rbpango.c +318 -0
- data/ext/pango/rbpango.h +96 -0
- data/ext/pango/rbpangoanalysis.c +218 -0
- data/ext/pango/rbpangoattribute.c +499 -0
- data/ext/pango/rbpangoattriterator.c +141 -0
- data/ext/pango/rbpangoattrlist.c +101 -0
- data/ext/pango/rbpangocairo.c +122 -0
- data/ext/pango/rbpangocairocontext.c +131 -0
- data/ext/pango/rbpangocolor.c +120 -0
- data/ext/pango/rbpangocontext.c +309 -0
- data/ext/pango/rbpangoconversions.h +111 -0
- data/ext/pango/rbpangocoverage.c +106 -0
- data/ext/pango/rbpangoengine.c +73 -0
- data/ext/pango/rbpangofont.c +110 -0
- data/ext/pango/rbpangofontdescription.c +282 -0
- data/ext/pango/rbpangofontface.c +73 -0
- data/ext/pango/rbpangofontfamily.c +79 -0
- data/ext/pango/rbpangofontmap.c +102 -0
- data/ext/pango/rbpangofontmetrics.c +85 -0
- data/ext/pango/rbpangofontset.c +69 -0
- data/ext/pango/rbpangofontsetsimple.c +60 -0
- data/ext/pango/rbpangoglyphinfo.c +123 -0
- data/ext/pango/rbpangoglyphitem.c +125 -0
- data/ext/pango/rbpangoglyphstring.c +151 -0
- data/ext/pango/rbpangogravity.c +54 -0
- data/ext/pango/rbpangoitem.c +95 -0
- data/ext/pango/rbpangolanguage.c +86 -0
- data/ext/pango/rbpangolayout.c +572 -0
- data/ext/pango/rbpangolayoutiter.c +189 -0
- data/ext/pango/rbpangolayoutline.c +239 -0
- data/ext/pango/rbpangologattr.c +109 -0
- data/ext/pango/rbpangomatrix.c +143 -0
- data/ext/pango/rbpangoprivate.h +49 -0
- data/ext/pango/rbpangorectangle.c +170 -0
- data/ext/pango/rbpangorenderer.c +193 -0
- data/ext/pango/rbpangoscript.c +84 -0
- data/ext/pango/rbpangoscriptiter.c +92 -0
- data/ext/pango/rbpangotabarray.c +128 -0
- data/extconf.rb +49 -0
- data/lib/2.0/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
- data/lib/2.2/pango.so +0 -0
- data/lib/pango.rb +79 -0
- data/sample/attribute.rb +82 -0
- data/sample/break.rb +28 -0
- data/sample/gdk_layout.rb +27 -0
- data/sample/glyphstring.rb +61 -0
- data/sample/item.rb +37 -0
- data/sample/label.rb +23 -0
- data/sample/layout.rb +102 -0
- data/sample/pango_cairo.rb +66 -0
- data/sample/parse.rb +33 -0
- data/sample/sample.txt +10 -0
- data/sample/script.rb +23 -0
- data/test/pango-test-utils.rb +9 -0
- data/test/run-test.rb +28 -0
- data/test/test-analysis.rb +26 -0
- data/test/test-attribute.rb +19 -0
- data/test/test-color.rb +47 -0
- data/test/test-language.rb +7 -0
- data/test/test-layout.rb +34 -0
- data/test/test-log-attr.rb +26 -0
- data/test/test-matrix.rb +26 -0
- data/test/test-rectangle.rb +26 -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/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 +19 -0
- data/vendor/local/include/harfbuzz/hb-blob.h +126 -0
- data/vendor/local/include/harfbuzz/hb-buffer.h +344 -0
- data/vendor/local/include/harfbuzz/hb-common.h +344 -0
- data/vendor/local/include/harfbuzz/hb-deprecated.h +51 -0
- data/vendor/local/include/harfbuzz/hb-face.h +117 -0
- data/vendor/local/include/harfbuzz/hb-font.h +507 -0
- data/vendor/local/include/harfbuzz/hb-ft.h +62 -0
- data/vendor/local/include/harfbuzz/hb-glib.h +52 -0
- 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 +302 -0
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +53 -0
- data/vendor/local/include/harfbuzz/hb-ot-tag.h +59 -0
- data/vendor/local/include/harfbuzz/hb-ot.h +43 -0
- data/vendor/local/include/harfbuzz/hb-set.h +154 -0
- data/vendor/local/include/harfbuzz/hb-shape-plan.h +89 -0
- data/vendor/local/include/harfbuzz/hb-shape.h +81 -0
- data/vendor/local/include/harfbuzz/hb-unicode.h +445 -0
- data/vendor/local/include/harfbuzz/hb-version.h +66 -0
- data/vendor/local/include/harfbuzz/hb.h +47 -0
- 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-attributes.h +514 -0
- data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +136 -0
- data/vendor/local/include/pango-1.0/pango/pango-break.h +173 -0
- data/vendor/local/include/pango-1.0/pango/pango-context.h +112 -0
- data/vendor/local/include/pango-1.0/pango/pango-coverage.h +79 -0
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +429 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +69 -0
- data/vendor/local/include/pango-1.0/pango/pango-features.h +12 -0
- data/vendor/local/include/pango-1.0/pango/pango-font.h +622 -0
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +167 -0
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +169 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +158 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +197 -0
- data/vendor/local/include/pango-1.0/pango/pango-gravity.h +128 -0
- data/vendor/local/include/pango-1.0/pango/pango-item.h +109 -0
- data/vendor/local/include/pango-1.0/pango/pango-language.h +61 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +340 -0
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +117 -0
- data/vendor/local/include/pango-1.0/pango/pango-modules.h +71 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +391 -0
- data/vendor/local/include/pango-1.0/pango/pango-renderer.h +260 -0
- data/vendor/local/include/pango-1.0/pango/pango-script.h +260 -0
- data/vendor/local/include/pango-1.0/pango/pango-tabs.h +87 -0
- data/vendor/local/include/pango-1.0/pango/pango-types.h +200 -0
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +189 -0
- data/vendor/local/include/pango-1.0/pango/pango.h +48 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +169 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +110 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +153 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +289 -0
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +133 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +128 -0
- 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 +41 -0
- 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 +41 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +41 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +41 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +13 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +11 -0
- 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 +14 -0
- data/vendor/local/lib/pkgconfig/pangocairo.pc +11 -0
- data/vendor/local/lib/pkgconfig/pangoft2.pc +12 -0
- data/vendor/local/lib/pkgconfig/pangowin32.pc +11 -0
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +13329 -0
- data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +833 -0
- data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +354 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +75 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +1449 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +98 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +46 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +610 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1780 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +1337 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +144 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +99 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +630 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +2529 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +188 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +120 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +50 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +120 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +120 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +771 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +172 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +50 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +966 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +405 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +286 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1523 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +100 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +182 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +50 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +378 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +105 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +496 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +59 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +224 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +255 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +246 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +500 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +1001 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +301 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +1219 -0
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +89 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +135 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +49 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +64 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +228 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +152 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +122 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +87 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +124 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +97 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +46 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +39 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +39 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +53 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +38 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +201 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +165 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +171 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +284 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2968 -0
- data/vendor/local/share/gtk-doc/html/pango/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +146 -0
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +957 -0
- data/vendor/local/share/gtk-doc/html/pango/layout.gif +0 -0
- data/vendor/local/share/gtk-doc/html/pango/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +68 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +514 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +1632 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +115 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +508 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +358 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +4154 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +956 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +2627 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +4153 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +965 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +331 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +2202 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +1430 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +582 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +3356 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +2079 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +325 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +523 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +1028 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +1275 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +91 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +131 -0
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +786 -0
- data/vendor/local/share/gtk-doc/html/pango/pango.html +63 -0
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +47 -0
- data/vendor/local/share/gtk-doc/html/pango/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/rotated-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/pango/tools.html +33 -0
- data/vendor/local/share/gtk-doc/html/pango/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/up.png +0 -0
- data/vendor/local/share/icu/54.1/config/mh-mingw64 +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 +9 -0
- data/vendor/local/share/license/harfbuzz/COPYING +36 -0
- data/vendor/local/share/license/pango/AUTHORS +2 -0
- data/vendor/local/share/license/pango/COPYING +482 -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 +106 -0
- data/vendor/local/share/man/man1/pango-view.1 +1 -0
- 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 +599 -0
@@ -0,0 +1,4154 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Pango Reference Manual: Fonts</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
|
+
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
|
+
<link rel="prev" href="pango-Glyph-Storage.html" title="Glyph Storage">
|
10
|
+
<link rel="next" href="pango-Text-Attributes.html" title="Text Attributes">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
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="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-Fonts.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#pango-Fonts.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_derived_interfaces"> <span class="dim">|</span>
|
20
|
+
<a href="#pango-Fonts.derived-interfaces" class="shortcut">Known Derived Interfaces</a></span>
|
21
|
+
</td>
|
22
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
|
+
<td><a accesskey="u" href="pango.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="pango-Glyph-Storage.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="pango-Text-Attributes.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
|
+
</tr></table>
|
27
|
+
<div class="refentry">
|
28
|
+
<a name="pango-Fonts"></a><div class="titlepage"></div>
|
29
|
+
<div class="refnamediv"><table width="100%"><tr>
|
30
|
+
<td valign="top">
|
31
|
+
<h2><span class="refentrytitle"><a name="pango-Fonts.top_of_page"></a>Fonts</span></h2>
|
32
|
+
<p>Fonts — Structures representing abstract fonts</p>
|
33
|
+
</td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
35
|
+
</tr></table></div>
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="pango-Fonts.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="define_keyword">#define</td>
|
46
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-DESCRIPTION:CAPS" title="PANGO_TYPE_FONT_DESCRIPTION">PANGO_TYPE_FONT_DESCRIPTION</a></td>
|
47
|
+
</tr>
|
48
|
+
<tr>
|
49
|
+
<td class="define_keyword">#define</td>
|
50
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-STYLE:CAPS" title="PANGO_TYPE_STYLE">PANGO_TYPE_STYLE</a></td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="define_keyword">#define</td>
|
54
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-WEIGHT:CAPS" title="PANGO_TYPE_WEIGHT">PANGO_TYPE_WEIGHT</a></td>
|
55
|
+
</tr>
|
56
|
+
<tr>
|
57
|
+
<td class="define_keyword">#define</td>
|
58
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-VARIANT:CAPS" title="PANGO_TYPE_VARIANT">PANGO_TYPE_VARIANT</a></td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="define_keyword">#define</td>
|
62
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-STRETCH:CAPS" title="PANGO_TYPE_STRETCH">PANGO_TYPE_STRETCH</a></td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td class="define_keyword">#define</td>
|
66
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-MASK:CAPS" title="PANGO_TYPE_FONT_MASK">PANGO_TYPE_FONT_MASK</a></td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-new" title="pango_font_description_new ()">pango_font_description_new</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-copy" title="pango_font_description_copy ()">pango_font_description_copy</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-copy-static" title="pango_font_description_copy_static ()">pango_font_description_copy_static</a> <span class="c_punctuation">()</span>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">
|
94
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-hash" title="pango_font_description_hash ()">pango_font_description_hash</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-equal" title="pango_font_description_equal ()">pango_font_description_equal</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="function_type">
|
110
|
+
<span class="returnvalue">void</span>
|
111
|
+
</td>
|
112
|
+
<td class="function_name">
|
113
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()">pango_font_description_free</a> <span class="c_punctuation">()</span>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td class="function_type">
|
118
|
+
<span class="returnvalue">void</span>
|
119
|
+
</td>
|
120
|
+
<td class="function_name">
|
121
|
+
<a class="link" href="pango-Fonts.html#pango-font-descriptions-free" title="pango_font_descriptions_free ()">pango_font_descriptions_free</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-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()">pango_font_description_set_family</a> <span class="c_punctuation">()</span>
|
130
|
+
</td>
|
131
|
+
</tr>
|
132
|
+
<tr>
|
133
|
+
<td class="function_type">
|
134
|
+
<span class="returnvalue">void</span>
|
135
|
+
</td>
|
136
|
+
<td class="function_name">
|
137
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-family-static" title="pango_font_description_set_family_static ()">pango_font_description_set_family_static</a> <span class="c_punctuation">()</span>
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
142
|
+
</td>
|
143
|
+
<td class="function_name">
|
144
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-family" title="pango_font_description_get_family ()">pango_font_description_get_family</a> <span class="c_punctuation">()</span>
|
145
|
+
</td>
|
146
|
+
</tr>
|
147
|
+
<tr>
|
148
|
+
<td class="function_type">
|
149
|
+
<span class="returnvalue">void</span>
|
150
|
+
</td>
|
151
|
+
<td class="function_name">
|
152
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-style" title="pango_font_description_set_style ()">pango_font_description_set_style</a> <span class="c_punctuation">()</span>
|
153
|
+
</td>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<td class="function_type">
|
157
|
+
<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="returnvalue">PangoStyle</span></a>
|
158
|
+
</td>
|
159
|
+
<td class="function_name">
|
160
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-style" title="pango_font_description_get_style ()">pango_font_description_get_style</a> <span class="c_punctuation">()</span>
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
164
|
+
<td class="function_type">
|
165
|
+
<span class="returnvalue">void</span>
|
166
|
+
</td>
|
167
|
+
<td class="function_name">
|
168
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-variant" title="pango_font_description_set_variant ()">pango_font_description_set_variant</a> <span class="c_punctuation">()</span>
|
169
|
+
</td>
|
170
|
+
</tr>
|
171
|
+
<tr>
|
172
|
+
<td class="function_type">
|
173
|
+
<a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="returnvalue">PangoVariant</span></a>
|
174
|
+
</td>
|
175
|
+
<td class="function_name">
|
176
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-variant" title="pango_font_description_get_variant ()">pango_font_description_get_variant</a> <span class="c_punctuation">()</span>
|
177
|
+
</td>
|
178
|
+
</tr>
|
179
|
+
<tr>
|
180
|
+
<td class="function_type">
|
181
|
+
<span class="returnvalue">void</span>
|
182
|
+
</td>
|
183
|
+
<td class="function_name">
|
184
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-weight" title="pango_font_description_set_weight ()">pango_font_description_set_weight</a> <span class="c_punctuation">()</span>
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td class="function_type">
|
189
|
+
<a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="returnvalue">PangoWeight</span></a>
|
190
|
+
</td>
|
191
|
+
<td class="function_name">
|
192
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-weight" title="pango_font_description_get_weight ()">pango_font_description_get_weight</a> <span class="c_punctuation">()</span>
|
193
|
+
</td>
|
194
|
+
</tr>
|
195
|
+
<tr>
|
196
|
+
<td class="function_type">
|
197
|
+
<span class="returnvalue">void</span>
|
198
|
+
</td>
|
199
|
+
<td class="function_name">
|
200
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" title="pango_font_description_set_stretch ()">pango_font_description_set_stretch</a> <span class="c_punctuation">()</span>
|
201
|
+
</td>
|
202
|
+
</tr>
|
203
|
+
<tr>
|
204
|
+
<td class="function_type">
|
205
|
+
<a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="returnvalue">PangoStretch</span></a>
|
206
|
+
</td>
|
207
|
+
<td class="function_name">
|
208
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-stretch" title="pango_font_description_get_stretch ()">pango_font_description_get_stretch</a> <span class="c_punctuation">()</span>
|
209
|
+
</td>
|
210
|
+
</tr>
|
211
|
+
<tr>
|
212
|
+
<td class="function_type">
|
213
|
+
<span class="returnvalue">void</span>
|
214
|
+
</td>
|
215
|
+
<td class="function_name">
|
216
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()">pango_font_description_set_size</a> <span class="c_punctuation">()</span>
|
217
|
+
</td>
|
218
|
+
</tr>
|
219
|
+
<tr>
|
220
|
+
<td class="function_type">
|
221
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
222
|
+
</td>
|
223
|
+
<td class="function_name">
|
224
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-size" title="pango_font_description_get_size ()">pango_font_description_get_size</a> <span class="c_punctuation">()</span>
|
225
|
+
</td>
|
226
|
+
</tr>
|
227
|
+
<tr>
|
228
|
+
<td class="function_type">
|
229
|
+
<span class="returnvalue">void</span>
|
230
|
+
</td>
|
231
|
+
<td class="function_name">
|
232
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()">pango_font_description_set_absolute_size</a> <span class="c_punctuation">()</span>
|
233
|
+
</td>
|
234
|
+
</tr>
|
235
|
+
<tr>
|
236
|
+
<td class="function_type">
|
237
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
238
|
+
</td>
|
239
|
+
<td class="function_name">
|
240
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-size-is-absolute" title="pango_font_description_get_size_is_absolute ()">pango_font_description_get_size_is_absolute</a> <span class="c_punctuation">()</span>
|
241
|
+
</td>
|
242
|
+
</tr>
|
243
|
+
<tr>
|
244
|
+
<td class="function_type">
|
245
|
+
<span class="returnvalue">void</span>
|
246
|
+
</td>
|
247
|
+
<td class="function_name">
|
248
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()">pango_font_description_set_gravity</a> <span class="c_punctuation">()</span>
|
249
|
+
</td>
|
250
|
+
</tr>
|
251
|
+
<tr>
|
252
|
+
<td class="function_type">
|
253
|
+
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a>
|
254
|
+
</td>
|
255
|
+
<td class="function_name">
|
256
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-gravity" title="pango_font_description_get_gravity ()">pango_font_description_get_gravity</a> <span class="c_punctuation">()</span>
|
257
|
+
</td>
|
258
|
+
</tr>
|
259
|
+
<tr>
|
260
|
+
<td class="function_type">
|
261
|
+
<a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="returnvalue">PangoFontMask</span></a>
|
262
|
+
</td>
|
263
|
+
<td class="function_name">
|
264
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()">pango_font_description_get_set_fields</a> <span class="c_punctuation">()</span>
|
265
|
+
</td>
|
266
|
+
</tr>
|
267
|
+
<tr>
|
268
|
+
<td class="function_type">
|
269
|
+
<span class="returnvalue">void</span>
|
270
|
+
</td>
|
271
|
+
<td class="function_name">
|
272
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-unset-fields" title="pango_font_description_unset_fields ()">pango_font_description_unset_fields</a> <span class="c_punctuation">()</span>
|
273
|
+
</td>
|
274
|
+
</tr>
|
275
|
+
<tr>
|
276
|
+
<td class="function_type">
|
277
|
+
<span class="returnvalue">void</span>
|
278
|
+
</td>
|
279
|
+
<td class="function_name">
|
280
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-merge" title="pango_font_description_merge ()">pango_font_description_merge</a> <span class="c_punctuation">()</span>
|
281
|
+
</td>
|
282
|
+
</tr>
|
283
|
+
<tr>
|
284
|
+
<td class="function_type">
|
285
|
+
<span class="returnvalue">void</span>
|
286
|
+
</td>
|
287
|
+
<td class="function_name">
|
288
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-merge-static" title="pango_font_description_merge_static ()">pango_font_description_merge_static</a> <span class="c_punctuation">()</span>
|
289
|
+
</td>
|
290
|
+
</tr>
|
291
|
+
<tr>
|
292
|
+
<td class="function_type">
|
293
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
294
|
+
</td>
|
295
|
+
<td class="function_name">
|
296
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-better-match" title="pango_font_description_better_match ()">pango_font_description_better_match</a> <span class="c_punctuation">()</span>
|
297
|
+
</td>
|
298
|
+
</tr>
|
299
|
+
<tr>
|
300
|
+
<td class="function_type">
|
301
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
302
|
+
</td>
|
303
|
+
<td class="function_name">
|
304
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-from-string" title="pango_font_description_from_string ()">pango_font_description_from_string</a> <span class="c_punctuation">()</span>
|
305
|
+
</td>
|
306
|
+
</tr>
|
307
|
+
<tr>
|
308
|
+
<td class="function_type">
|
309
|
+
<span class="returnvalue">char</span> *
|
310
|
+
</td>
|
311
|
+
<td class="function_name">
|
312
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-to-string" title="pango_font_description_to_string ()">pango_font_description_to_string</a> <span class="c_punctuation">()</span>
|
313
|
+
</td>
|
314
|
+
</tr>
|
315
|
+
<tr>
|
316
|
+
<td class="function_type">
|
317
|
+
<span class="returnvalue">char</span> *
|
318
|
+
</td>
|
319
|
+
<td class="function_name">
|
320
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-to-filename" title="pango_font_description_to_filename ()">pango_font_description_to_filename</a> <span class="c_punctuation">()</span>
|
321
|
+
</td>
|
322
|
+
</tr>
|
323
|
+
<tr>
|
324
|
+
<td class="define_keyword">#define</td>
|
325
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-METRICS:CAPS" title="PANGO_TYPE_FONT_METRICS">PANGO_TYPE_FONT_METRICS</a></td>
|
326
|
+
</tr>
|
327
|
+
<tr>
|
328
|
+
<td class="function_type">
|
329
|
+
<a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
330
|
+
</td>
|
331
|
+
<td class="function_name">
|
332
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-ref" title="pango_font_metrics_ref ()">pango_font_metrics_ref</a> <span class="c_punctuation">()</span>
|
333
|
+
</td>
|
334
|
+
</tr>
|
335
|
+
<tr>
|
336
|
+
<td class="function_type">
|
337
|
+
<span class="returnvalue">void</span>
|
338
|
+
</td>
|
339
|
+
<td class="function_name">
|
340
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()">pango_font_metrics_unref</a> <span class="c_punctuation">()</span>
|
341
|
+
</td>
|
342
|
+
</tr>
|
343
|
+
<tr>
|
344
|
+
<td class="function_type">
|
345
|
+
<span class="returnvalue">int</span>
|
346
|
+
</td>
|
347
|
+
<td class="function_name">
|
348
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-ascent" title="pango_font_metrics_get_ascent ()">pango_font_metrics_get_ascent</a> <span class="c_punctuation">()</span>
|
349
|
+
</td>
|
350
|
+
</tr>
|
351
|
+
<tr>
|
352
|
+
<td class="function_type">
|
353
|
+
<span class="returnvalue">int</span>
|
354
|
+
</td>
|
355
|
+
<td class="function_name">
|
356
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-descent" title="pango_font_metrics_get_descent ()">pango_font_metrics_get_descent</a> <span class="c_punctuation">()</span>
|
357
|
+
</td>
|
358
|
+
</tr>
|
359
|
+
<tr>
|
360
|
+
<td class="function_type">
|
361
|
+
<span class="returnvalue">int</span>
|
362
|
+
</td>
|
363
|
+
<td class="function_name">
|
364
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()">pango_font_metrics_get_approximate_char_width</a> <span class="c_punctuation">()</span>
|
365
|
+
</td>
|
366
|
+
</tr>
|
367
|
+
<tr>
|
368
|
+
<td class="function_type">
|
369
|
+
<span class="returnvalue">int</span>
|
370
|
+
</td>
|
371
|
+
<td class="function_name">
|
372
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-digit-width" title="pango_font_metrics_get_approximate_digit_width ()">pango_font_metrics_get_approximate_digit_width</a> <span class="c_punctuation">()</span>
|
373
|
+
</td>
|
374
|
+
</tr>
|
375
|
+
<tr>
|
376
|
+
<td class="function_type">
|
377
|
+
<span class="returnvalue">int</span>
|
378
|
+
</td>
|
379
|
+
<td class="function_name">
|
380
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-underline-thickness" title="pango_font_metrics_get_underline_thickness ()">pango_font_metrics_get_underline_thickness</a> <span class="c_punctuation">()</span>
|
381
|
+
</td>
|
382
|
+
</tr>
|
383
|
+
<tr>
|
384
|
+
<td class="function_type">
|
385
|
+
<span class="returnvalue">int</span>
|
386
|
+
</td>
|
387
|
+
<td class="function_name">
|
388
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-underline-position" title="pango_font_metrics_get_underline_position ()">pango_font_metrics_get_underline_position</a> <span class="c_punctuation">()</span>
|
389
|
+
</td>
|
390
|
+
</tr>
|
391
|
+
<tr>
|
392
|
+
<td class="function_type">
|
393
|
+
<span class="returnvalue">int</span>
|
394
|
+
</td>
|
395
|
+
<td class="function_name">
|
396
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-strikethrough-thickness" title="pango_font_metrics_get_strikethrough_thickness ()">pango_font_metrics_get_strikethrough_thickness</a> <span class="c_punctuation">()</span>
|
397
|
+
</td>
|
398
|
+
</tr>
|
399
|
+
<tr>
|
400
|
+
<td class="function_type">
|
401
|
+
<span class="returnvalue">int</span>
|
402
|
+
</td>
|
403
|
+
<td class="function_name">
|
404
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-strikethrough-position" title="pango_font_metrics_get_strikethrough_position ()">pango_font_metrics_get_strikethrough_position</a> <span class="c_punctuation">()</span>
|
405
|
+
</td>
|
406
|
+
</tr>
|
407
|
+
<tr>
|
408
|
+
<td class="define_keyword">#define</td>
|
409
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT:CAPS" title="PANGO_TYPE_FONT">PANGO_TYPE_FONT</a></td>
|
410
|
+
</tr>
|
411
|
+
<tr>
|
412
|
+
<td class="define_keyword">#define</td>
|
413
|
+
<td class="function_name">
|
414
|
+
<a class="link" href="pango-Fonts.html#PANGO-FONT:CAPS" title="PANGO_FONT()">PANGO_FONT</a><span class="c_punctuation">()</span>
|
415
|
+
</td>
|
416
|
+
</tr>
|
417
|
+
<tr>
|
418
|
+
<td class="define_keyword">#define</td>
|
419
|
+
<td class="function_name">
|
420
|
+
<a class="link" href="pango-Fonts.html#PANGO-IS-FONT:CAPS" title="PANGO_IS_FONT()">PANGO_IS_FONT</a><span class="c_punctuation">()</span>
|
421
|
+
</td>
|
422
|
+
</tr>
|
423
|
+
<tr>
|
424
|
+
<td class="function_type">
|
425
|
+
<a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> *
|
426
|
+
</td>
|
427
|
+
<td class="function_name">
|
428
|
+
<a class="link" href="pango-Fonts.html#pango-font-find-shaper" title="pango_font_find_shaper ()">pango_font_find_shaper</a> <span class="c_punctuation">()</span>
|
429
|
+
</td>
|
430
|
+
</tr>
|
431
|
+
<tr>
|
432
|
+
<td class="function_type">
|
433
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
434
|
+
</td>
|
435
|
+
<td class="function_name">
|
436
|
+
<a class="link" href="pango-Fonts.html#pango-font-describe" title="pango_font_describe ()">pango_font_describe</a> <span class="c_punctuation">()</span>
|
437
|
+
</td>
|
438
|
+
</tr>
|
439
|
+
<tr>
|
440
|
+
<td class="function_type">
|
441
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
442
|
+
</td>
|
443
|
+
<td class="function_name">
|
444
|
+
<a class="link" href="pango-Fonts.html#pango-font-describe-with-absolute-size" title="pango_font_describe_with_absolute_size ()">pango_font_describe_with_absolute_size</a> <span class="c_punctuation">()</span>
|
445
|
+
</td>
|
446
|
+
</tr>
|
447
|
+
<tr>
|
448
|
+
<td class="function_type">
|
449
|
+
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> *
|
450
|
+
</td>
|
451
|
+
<td class="function_name">
|
452
|
+
<a class="link" href="pango-Fonts.html#pango-font-get-coverage" title="pango_font_get_coverage ()">pango_font_get_coverage</a> <span class="c_punctuation">()</span>
|
453
|
+
</td>
|
454
|
+
</tr>
|
455
|
+
<tr>
|
456
|
+
<td class="function_type">
|
457
|
+
<span class="returnvalue">void</span>
|
458
|
+
</td>
|
459
|
+
<td class="function_name">
|
460
|
+
<a class="link" href="pango-Fonts.html#pango-font-get-glyph-extents" title="pango_font_get_glyph_extents ()">pango_font_get_glyph_extents</a> <span class="c_punctuation">()</span>
|
461
|
+
</td>
|
462
|
+
</tr>
|
463
|
+
<tr>
|
464
|
+
<td class="function_type">
|
465
|
+
<a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
466
|
+
</td>
|
467
|
+
<td class="function_name">
|
468
|
+
<a class="link" href="pango-Fonts.html#pango-font-get-metrics" title="pango_font_get_metrics ()">pango_font_get_metrics</a> <span class="c_punctuation">()</span>
|
469
|
+
</td>
|
470
|
+
</tr>
|
471
|
+
<tr>
|
472
|
+
<td class="function_type">
|
473
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
474
|
+
</td>
|
475
|
+
<td class="function_name">
|
476
|
+
<a class="link" href="pango-Fonts.html#pango-font-get-font-map" title="pango_font_get_font_map ()">pango_font_get_font_map</a> <span class="c_punctuation">()</span>
|
477
|
+
</td>
|
478
|
+
</tr>
|
479
|
+
<tr>
|
480
|
+
<td class="define_keyword">#define</td>
|
481
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-FAMILY:CAPS" title="PANGO_TYPE_FONT_FAMILY">PANGO_TYPE_FONT_FAMILY</a></td>
|
482
|
+
</tr>
|
483
|
+
<tr>
|
484
|
+
<td class="define_keyword">#define</td>
|
485
|
+
<td class="function_name">
|
486
|
+
<a class="link" href="pango-Fonts.html#PANGO-FONT-FAMILY:CAPS" title="PANGO_FONT_FAMILY()">PANGO_FONT_FAMILY</a><span class="c_punctuation">()</span>
|
487
|
+
</td>
|
488
|
+
</tr>
|
489
|
+
<tr>
|
490
|
+
<td class="define_keyword">#define</td>
|
491
|
+
<td class="function_name">
|
492
|
+
<a class="link" href="pango-Fonts.html#PANGO-IS-FONT-FAMILY:CAPS" title="PANGO_IS_FONT_FAMILY()">PANGO_IS_FONT_FAMILY</a><span class="c_punctuation">()</span>
|
493
|
+
</td>
|
494
|
+
</tr>
|
495
|
+
<tr>
|
496
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
497
|
+
</td>
|
498
|
+
<td class="function_name">
|
499
|
+
<a class="link" href="pango-Fonts.html#pango-font-family-get-name" title="pango_font_family_get_name ()">pango_font_family_get_name</a> <span class="c_punctuation">()</span>
|
500
|
+
</td>
|
501
|
+
</tr>
|
502
|
+
<tr>
|
503
|
+
<td class="function_type">
|
504
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
505
|
+
</td>
|
506
|
+
<td class="function_name">
|
507
|
+
<a class="link" href="pango-Fonts.html#pango-font-family-is-monospace" title="pango_font_family_is_monospace ()">pango_font_family_is_monospace</a> <span class="c_punctuation">()</span>
|
508
|
+
</td>
|
509
|
+
</tr>
|
510
|
+
<tr>
|
511
|
+
<td class="function_type">
|
512
|
+
<span class="returnvalue">void</span>
|
513
|
+
</td>
|
514
|
+
<td class="function_name">
|
515
|
+
<a class="link" href="pango-Fonts.html#pango-font-family-list-faces" title="pango_font_family_list_faces ()">pango_font_family_list_faces</a> <span class="c_punctuation">()</span>
|
516
|
+
</td>
|
517
|
+
</tr>
|
518
|
+
<tr>
|
519
|
+
<td class="define_keyword">#define</td>
|
520
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-FACE:CAPS" title="PANGO_TYPE_FONT_FACE">PANGO_TYPE_FONT_FACE</a></td>
|
521
|
+
</tr>
|
522
|
+
<tr>
|
523
|
+
<td class="define_keyword">#define</td>
|
524
|
+
<td class="function_name">
|
525
|
+
<a class="link" href="pango-Fonts.html#PANGO-FONT-FACE:CAPS" title="PANGO_FONT_FACE()">PANGO_FONT_FACE</a><span class="c_punctuation">()</span>
|
526
|
+
</td>
|
527
|
+
</tr>
|
528
|
+
<tr>
|
529
|
+
<td class="define_keyword">#define</td>
|
530
|
+
<td class="function_name">
|
531
|
+
<a class="link" href="pango-Fonts.html#PANGO-IS-FONT-FACE:CAPS" title="PANGO_IS_FONT_FACE()">PANGO_IS_FONT_FACE</a><span class="c_punctuation">()</span>
|
532
|
+
</td>
|
533
|
+
</tr>
|
534
|
+
<tr>
|
535
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
536
|
+
</td>
|
537
|
+
<td class="function_name">
|
538
|
+
<a class="link" href="pango-Fonts.html#pango-font-face-get-face-name" title="pango_font_face_get_face_name ()">pango_font_face_get_face_name</a> <span class="c_punctuation">()</span>
|
539
|
+
</td>
|
540
|
+
</tr>
|
541
|
+
<tr>
|
542
|
+
<td class="function_type">
|
543
|
+
<span class="returnvalue">void</span>
|
544
|
+
</td>
|
545
|
+
<td class="function_name">
|
546
|
+
<a class="link" href="pango-Fonts.html#pango-font-face-list-sizes" title="pango_font_face_list_sizes ()">pango_font_face_list_sizes</a> <span class="c_punctuation">()</span>
|
547
|
+
</td>
|
548
|
+
</tr>
|
549
|
+
<tr>
|
550
|
+
<td class="function_type">
|
551
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
552
|
+
</td>
|
553
|
+
<td class="function_name">
|
554
|
+
<a class="link" href="pango-Fonts.html#pango-font-face-describe" title="pango_font_face_describe ()">pango_font_face_describe</a> <span class="c_punctuation">()</span>
|
555
|
+
</td>
|
556
|
+
</tr>
|
557
|
+
<tr>
|
558
|
+
<td class="function_type">
|
559
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
560
|
+
</td>
|
561
|
+
<td class="function_name">
|
562
|
+
<a class="link" href="pango-Fonts.html#pango-font-face-is-synthesized" title="pango_font_face_is_synthesized ()">pango_font_face_is_synthesized</a> <span class="c_punctuation">()</span>
|
563
|
+
</td>
|
564
|
+
</tr>
|
565
|
+
<tr>
|
566
|
+
<td class="define_keyword">#define</td>
|
567
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-MAP:CAPS" title="PANGO_TYPE_FONT_MAP">PANGO_TYPE_FONT_MAP</a></td>
|
568
|
+
</tr>
|
569
|
+
<tr>
|
570
|
+
<td class="define_keyword">#define</td>
|
571
|
+
<td class="function_name">
|
572
|
+
<a class="link" href="pango-Fonts.html#PANGO-FONT-MAP:CAPS" title="PANGO_FONT_MAP()">PANGO_FONT_MAP</a><span class="c_punctuation">()</span>
|
573
|
+
</td>
|
574
|
+
</tr>
|
575
|
+
<tr>
|
576
|
+
<td class="define_keyword">#define</td>
|
577
|
+
<td class="function_name">
|
578
|
+
<a class="link" href="pango-Fonts.html#PANGO-IS-FONT-MAP:CAPS" title="PANGO_IS_FONT_MAP()">PANGO_IS_FONT_MAP</a><span class="c_punctuation">()</span>
|
579
|
+
</td>
|
580
|
+
</tr>
|
581
|
+
<tr>
|
582
|
+
<td class="define_keyword">#define</td>
|
583
|
+
<td class="function_name">
|
584
|
+
<a class="link" href="pango-Fonts.html#PANGO-FONT-MAP-CLASS:CAPS" title="PANGO_FONT_MAP_CLASS()">PANGO_FONT_MAP_CLASS</a><span class="c_punctuation">()</span>
|
585
|
+
</td>
|
586
|
+
</tr>
|
587
|
+
<tr>
|
588
|
+
<td class="define_keyword">#define</td>
|
589
|
+
<td class="function_name">
|
590
|
+
<a class="link" href="pango-Fonts.html#PANGO-IS-FONT-MAP-CLASS:CAPS" title="PANGO_IS_FONT_MAP_CLASS()">PANGO_IS_FONT_MAP_CLASS</a><span class="c_punctuation">()</span>
|
591
|
+
</td>
|
592
|
+
</tr>
|
593
|
+
<tr>
|
594
|
+
<td class="define_keyword">#define</td>
|
595
|
+
<td class="function_name">
|
596
|
+
<a class="link" href="pango-Fonts.html#PANGO-FONT-MAP-GET-CLASS:CAPS" title="PANGO_FONT_MAP_GET_CLASS()">PANGO_FONT_MAP_GET_CLASS</a><span class="c_punctuation">()</span>
|
597
|
+
</td>
|
598
|
+
</tr>
|
599
|
+
<tr>
|
600
|
+
<td class="function_type">
|
601
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
|
602
|
+
</td>
|
603
|
+
<td class="function_name">
|
604
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()">pango_font_map_create_context</a> <span class="c_punctuation">()</span>
|
605
|
+
</td>
|
606
|
+
</tr>
|
607
|
+
<tr>
|
608
|
+
<td class="function_type">
|
609
|
+
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *
|
610
|
+
</td>
|
611
|
+
<td class="function_name">
|
612
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-load-font" title="pango_font_map_load_font ()">pango_font_map_load_font</a> <span class="c_punctuation">()</span>
|
613
|
+
</td>
|
614
|
+
</tr>
|
615
|
+
<tr>
|
616
|
+
<td class="function_type">
|
617
|
+
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> *
|
618
|
+
</td>
|
619
|
+
<td class="function_name">
|
620
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-load-fontset" title="pango_font_map_load_fontset ()">pango_font_map_load_fontset</a> <span class="c_punctuation">()</span>
|
621
|
+
</td>
|
622
|
+
</tr>
|
623
|
+
<tr>
|
624
|
+
<td class="function_type">
|
625
|
+
<span class="returnvalue">void</span>
|
626
|
+
</td>
|
627
|
+
<td class="function_name">
|
628
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-list-families" title="pango_font_map_list_families ()">pango_font_map_list_families</a> <span class="c_punctuation">()</span>
|
629
|
+
</td>
|
630
|
+
</tr>
|
631
|
+
<tr>
|
632
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
633
|
+
</td>
|
634
|
+
<td class="function_name">
|
635
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-get-shape-engine-type" title="pango_font_map_get_shape_engine_type ()">pango_font_map_get_shape_engine_type</a> <span class="c_punctuation">()</span>
|
636
|
+
</td>
|
637
|
+
</tr>
|
638
|
+
<tr>
|
639
|
+
<td class="function_type">
|
640
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
641
|
+
</td>
|
642
|
+
<td class="function_name">
|
643
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-get-serial" title="pango_font_map_get_serial ()">pango_font_map_get_serial</a> <span class="c_punctuation">()</span>
|
644
|
+
</td>
|
645
|
+
</tr>
|
646
|
+
<tr>
|
647
|
+
<td class="function_type">
|
648
|
+
<span class="returnvalue">void</span>
|
649
|
+
</td>
|
650
|
+
<td class="function_name">
|
651
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-changed" title="pango_font_map_changed ()">pango_font_map_changed</a> <span class="c_punctuation">()</span>
|
652
|
+
</td>
|
653
|
+
</tr>
|
654
|
+
<tr>
|
655
|
+
<td class="define_keyword">#define</td>
|
656
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET:CAPS" title="PANGO_TYPE_FONTSET">PANGO_TYPE_FONTSET</a></td>
|
657
|
+
</tr>
|
658
|
+
<tr>
|
659
|
+
<td class="function_type">
|
660
|
+
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *
|
661
|
+
</td>
|
662
|
+
<td class="function_name">
|
663
|
+
<a class="link" href="pango-Fonts.html#pango-fontset-get-font" title="pango_fontset_get_font ()">pango_fontset_get_font</a> <span class="c_punctuation">()</span>
|
664
|
+
</td>
|
665
|
+
</tr>
|
666
|
+
<tr>
|
667
|
+
<td class="function_type">
|
668
|
+
<a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
669
|
+
</td>
|
670
|
+
<td class="function_name">
|
671
|
+
<a class="link" href="pango-Fonts.html#pango-fontset-get-metrics" title="pango_fontset_get_metrics ()">pango_fontset_get_metrics</a> <span class="c_punctuation">()</span>
|
672
|
+
</td>
|
673
|
+
</tr>
|
674
|
+
<tr>
|
675
|
+
<td class="function_type">
|
676
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
677
|
+
</td>
|
678
|
+
<td class="function_name">
|
679
|
+
<span class="c_punctuation">(</span><a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()">*PangoFontsetForeachFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
680
|
+
</td>
|
681
|
+
</tr>
|
682
|
+
<tr>
|
683
|
+
<td class="function_type">
|
684
|
+
<span class="returnvalue">void</span>
|
685
|
+
</td>
|
686
|
+
<td class="function_name">
|
687
|
+
<a class="link" href="pango-Fonts.html#pango-fontset-foreach" title="pango_fontset_foreach ()">pango_fontset_foreach</a> <span class="c_punctuation">()</span>
|
688
|
+
</td>
|
689
|
+
</tr>
|
690
|
+
<tr>
|
691
|
+
<td class="define_keyword">#define</td>
|
692
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET-SIMPLE:CAPS" title="PANGO_TYPE_FONTSET_SIMPLE">PANGO_TYPE_FONTSET_SIMPLE</a></td>
|
693
|
+
</tr>
|
694
|
+
<tr>
|
695
|
+
<td class="function_type">
|
696
|
+
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> *
|
697
|
+
</td>
|
698
|
+
<td class="function_name">
|
699
|
+
<a class="link" href="pango-Fonts.html#pango-fontset-simple-new" title="pango_fontset_simple_new ()">pango_fontset_simple_new</a> <span class="c_punctuation">()</span>
|
700
|
+
</td>
|
701
|
+
</tr>
|
702
|
+
<tr>
|
703
|
+
<td class="function_type">
|
704
|
+
<span class="returnvalue">void</span>
|
705
|
+
</td>
|
706
|
+
<td class="function_name">
|
707
|
+
<a class="link" href="pango-Fonts.html#pango-fontset-simple-append" title="pango_fontset_simple_append ()">pango_fontset_simple_append</a> <span class="c_punctuation">()</span>
|
708
|
+
</td>
|
709
|
+
</tr>
|
710
|
+
<tr>
|
711
|
+
<td class="function_type">
|
712
|
+
<span class="returnvalue">int</span>
|
713
|
+
</td>
|
714
|
+
<td class="function_name">
|
715
|
+
<a class="link" href="pango-Fonts.html#pango-fontset-simple-size" title="pango_fontset_simple_size ()">pango_fontset_simple_size</a> <span class="c_punctuation">()</span>
|
716
|
+
</td>
|
717
|
+
</tr>
|
718
|
+
</tbody>
|
719
|
+
</table></div>
|
720
|
+
</div>
|
721
|
+
<a name="PangoFontDescription"></a><a name="PangoFontMetrics"></a><a name="PangoFont"></a><a name="PangoFontFamily"></a><a name="PangoFontFace"></a><a name="PangoFontMap"></a><a name="PangoFontset"></a><a name="PangoFontsetSimple"></a><div class="refsect1">
|
722
|
+
<a name="pango-Fonts.other"></a><h2>Types and Values</h2>
|
723
|
+
<div class="informaltable"><table width="100%" border="0">
|
724
|
+
<colgroup>
|
725
|
+
<col width="150px" class="name">
|
726
|
+
<col class="description">
|
727
|
+
</colgroup>
|
728
|
+
<tbody>
|
729
|
+
<tr>
|
730
|
+
<td class="datatype_keyword"> </td>
|
731
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontDescription-struct" title="PangoFontDescription">PangoFontDescription</a></td>
|
732
|
+
</tr>
|
733
|
+
<tr>
|
734
|
+
<td class="datatype_keyword">enum</td>
|
735
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle">PangoStyle</a></td>
|
736
|
+
</tr>
|
737
|
+
<tr>
|
738
|
+
<td class="datatype_keyword">enum</td>
|
739
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight">PangoWeight</a></td>
|
740
|
+
</tr>
|
741
|
+
<tr>
|
742
|
+
<td class="datatype_keyword">enum</td>
|
743
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant">PangoVariant</a></td>
|
744
|
+
</tr>
|
745
|
+
<tr>
|
746
|
+
<td class="datatype_keyword">enum</td>
|
747
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch">PangoStretch</a></td>
|
748
|
+
</tr>
|
749
|
+
<tr>
|
750
|
+
<td class="datatype_keyword">enum</td>
|
751
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask">PangoFontMask</a></td>
|
752
|
+
</tr>
|
753
|
+
<tr>
|
754
|
+
<td class="datatype_keyword">struct</td>
|
755
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontMetrics-struct" title="struct PangoFontMetrics">PangoFontMetrics</a></td>
|
756
|
+
</tr>
|
757
|
+
<tr>
|
758
|
+
<td class="datatype_keyword"> </td>
|
759
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFont-struct" title="PangoFont">PangoFont</a></td>
|
760
|
+
</tr>
|
761
|
+
<tr>
|
762
|
+
<td class="datatype_keyword">struct</td>
|
763
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontFamily-struct" title="struct PangoFontFamily">PangoFontFamily</a></td>
|
764
|
+
</tr>
|
765
|
+
<tr>
|
766
|
+
<td class="datatype_keyword">struct</td>
|
767
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontFace-struct" title="struct PangoFontFace">PangoFontFace</a></td>
|
768
|
+
</tr>
|
769
|
+
<tr>
|
770
|
+
<td class="datatype_keyword"> </td>
|
771
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontMap-struct" title="PangoFontMap">PangoFontMap</a></td>
|
772
|
+
</tr>
|
773
|
+
<tr>
|
774
|
+
<td class="datatype_keyword">struct</td>
|
775
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass">PangoFontMapClass</a></td>
|
776
|
+
</tr>
|
777
|
+
<tr>
|
778
|
+
<td class="datatype_keyword">struct</td>
|
779
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontset-struct" title="struct PangoFontset">PangoFontset</a></td>
|
780
|
+
</tr>
|
781
|
+
<tr>
|
782
|
+
<td class="datatype_keyword">struct</td>
|
783
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontsetClass" title="struct PangoFontsetClass">PangoFontsetClass</a></td>
|
784
|
+
</tr>
|
785
|
+
<tr>
|
786
|
+
<td class="datatype_keyword"> </td>
|
787
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontsetSimple-struct" title="PangoFontsetSimple">PangoFontsetSimple</a></td>
|
788
|
+
</tr>
|
789
|
+
</tbody>
|
790
|
+
</table></div>
|
791
|
+
</div>
|
792
|
+
<div class="refsect1">
|
793
|
+
<a name="pango-Fonts.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
794
|
+
<pre class="screen"> GBoxed
|
795
|
+
<span class="lineart">├──</span> PangoFontDescription
|
796
|
+
<span class="lineart">╰──</span> PangoFontMetrics
|
797
|
+
GEnum
|
798
|
+
<span class="lineart">├──</span> PangoStretch
|
799
|
+
<span class="lineart">├──</span> PangoStyle
|
800
|
+
<span class="lineart">├──</span> PangoVariant
|
801
|
+
<span class="lineart">╰──</span> PangoWeight
|
802
|
+
GFlags
|
803
|
+
<span class="lineart">╰──</span> PangoFontMask
|
804
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
805
|
+
<span class="lineart">├──</span> <a class="link" href="pango-Fonts.html#PangoFontset">PangoFontset</a>
|
806
|
+
<span class="lineart">│</span> <span class="lineart">╰──</span> PangoFontsetSimple
|
807
|
+
<span class="lineart">├──</span> PangoFont
|
808
|
+
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a>
|
809
|
+
<span class="lineart">├──</span> PangoFontFace
|
810
|
+
<span class="lineart">├──</span> PangoFontFamily
|
811
|
+
<span class="lineart">├──</span> PangoFontMap
|
812
|
+
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap">PangoFcFontMap</a>
|
813
|
+
<span class="lineart">╰──</span> PangoFontset
|
814
|
+
<span class="lineart">╰──</span> <a class="link" href="pango-Fonts.html#PangoFontsetSimple">PangoFontsetSimple</a>
|
815
|
+
</pre>
|
816
|
+
</div>
|
817
|
+
<div class="refsect1">
|
818
|
+
<a name="pango-Fonts.derived-interfaces"></a><h2>Known Derived Interfaces</h2>
|
819
|
+
<p>
|
820
|
+
PangoFont is required by
|
821
|
+
<a class="link" href="pango-Cairo-Rendering.html#PangoCairoFont">PangoCairoFont</a>.</p>
|
822
|
+
<p>
|
823
|
+
PangoFontMap is required by
|
824
|
+
<a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap">PangoCairoFontMap</a>.</p>
|
825
|
+
</div>
|
826
|
+
<div class="refsect1">
|
827
|
+
<a name="pango-Fonts.description"></a><h2>Description</h2>
|
828
|
+
<p>Pango supports a flexible architecture where a
|
829
|
+
particular rendering architecture can supply an
|
830
|
+
implementation of fonts. The <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> structure
|
831
|
+
represents an abstract rendering-system-independent font.
|
832
|
+
Pango provides routines to list available fonts, and
|
833
|
+
to load a font of a given description.</p>
|
834
|
+
</div>
|
835
|
+
<div class="refsect1">
|
836
|
+
<a name="pango-Fonts.functions_details"></a><h2>Functions</h2>
|
837
|
+
<div class="refsect2">
|
838
|
+
<a name="PANGO-TYPE-FONT-DESCRIPTION:CAPS"></a><h3>PANGO_TYPE_FONT_DESCRIPTION</h3>
|
839
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ())
|
840
|
+
</pre>
|
841
|
+
<p>The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p>
|
842
|
+
</div>
|
843
|
+
<hr>
|
844
|
+
<div class="refsect2">
|
845
|
+
<a name="PANGO-TYPE-STYLE:CAPS"></a><h3>PANGO_TYPE_STYLE</h3>
|
846
|
+
<pre class="programlisting">#define PANGO_TYPE_STYLE (pango_style_get_type ())
|
847
|
+
</pre>
|
848
|
+
</div>
|
849
|
+
<hr>
|
850
|
+
<div class="refsect2">
|
851
|
+
<a name="PANGO-TYPE-WEIGHT:CAPS"></a><h3>PANGO_TYPE_WEIGHT</h3>
|
852
|
+
<pre class="programlisting">#define PANGO_TYPE_WEIGHT (pango_weight_get_type ())
|
853
|
+
</pre>
|
854
|
+
</div>
|
855
|
+
<hr>
|
856
|
+
<div class="refsect2">
|
857
|
+
<a name="PANGO-TYPE-VARIANT:CAPS"></a><h3>PANGO_TYPE_VARIANT</h3>
|
858
|
+
<pre class="programlisting">#define PANGO_TYPE_VARIANT (pango_variant_get_type ())
|
859
|
+
</pre>
|
860
|
+
</div>
|
861
|
+
<hr>
|
862
|
+
<div class="refsect2">
|
863
|
+
<a name="PANGO-TYPE-STRETCH:CAPS"></a><h3>PANGO_TYPE_STRETCH</h3>
|
864
|
+
<pre class="programlisting">#define PANGO_TYPE_STRETCH (pango_stretch_get_type ())
|
865
|
+
</pre>
|
866
|
+
</div>
|
867
|
+
<hr>
|
868
|
+
<div class="refsect2">
|
869
|
+
<a name="PANGO-TYPE-FONT-MASK:CAPS"></a><h3>PANGO_TYPE_FONT_MASK</h3>
|
870
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type ())
|
871
|
+
</pre>
|
872
|
+
</div>
|
873
|
+
<hr>
|
874
|
+
<div class="refsect2">
|
875
|
+
<a name="pango-font-description-new"></a><h3>pango_font_description_new ()</h3>
|
876
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
877
|
+
pango_font_description_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
878
|
+
<p>Creates a new font description structure with all fields unset.</p>
|
879
|
+
<div class="refsect3">
|
880
|
+
<a name="id-1.2.4.16.8.5"></a><h4>Returns</h4>
|
881
|
+
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which
|
882
|
+
should be freed using <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>.</p>
|
883
|
+
<p></p>
|
884
|
+
</div>
|
885
|
+
</div>
|
886
|
+
<hr>
|
887
|
+
<div class="refsect2">
|
888
|
+
<a name="pango-font-description-copy"></a><h3>pango_font_description_copy ()</h3>
|
889
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
890
|
+
pango_font_description_copy (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
891
|
+
<p>Make a copy of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p>
|
892
|
+
<div class="refsect3">
|
893
|
+
<a name="id-1.2.4.16.9.5"></a><h4>Parameters</h4>
|
894
|
+
<div class="informaltable"><table width="100%" border="0">
|
895
|
+
<colgroup>
|
896
|
+
<col width="150px" class="parameters_name">
|
897
|
+
<col class="parameters_description">
|
898
|
+
<col width="200px" class="parameters_annotations">
|
899
|
+
</colgroup>
|
900
|
+
<tbody><tr>
|
901
|
+
<td class="parameter_name"><p>desc</p></td>
|
902
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
903
|
+
<td class="parameter_annotations"> </td>
|
904
|
+
</tr></tbody>
|
905
|
+
</table></div>
|
906
|
+
</div>
|
907
|
+
<div class="refsect3">
|
908
|
+
<a name="id-1.2.4.16.9.6"></a><h4>Returns</h4>
|
909
|
+
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which should
|
910
|
+
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
911
|
+
if <em class="parameter"><code>desc</code></em>
|
912
|
+
was <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
913
|
+
<p></p>
|
914
|
+
</div>
|
915
|
+
</div>
|
916
|
+
<hr>
|
917
|
+
<div class="refsect2">
|
918
|
+
<a name="pango-font-description-copy-static"></a><h3>pango_font_description_copy_static ()</h3>
|
919
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
920
|
+
pango_font_description_copy_static (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
921
|
+
<p>Like <a class="link" href="pango-Fonts.html#pango-font-description-copy" title="pango_font_description_copy ()"><code class="function">pango_font_description_copy()</code></a>, but only a shallow copy is made
|
922
|
+
of the family name and other allocated fields. The result can only
|
923
|
+
be used until <em class="parameter"><code>desc</code></em>
|
924
|
+
is modified or freed. This is meant to be used
|
925
|
+
when the copy is only needed temporarily.</p>
|
926
|
+
<div class="refsect3">
|
927
|
+
<a name="id-1.2.4.16.10.5"></a><h4>Parameters</h4>
|
928
|
+
<div class="informaltable"><table width="100%" border="0">
|
929
|
+
<colgroup>
|
930
|
+
<col width="150px" class="parameters_name">
|
931
|
+
<col class="parameters_description">
|
932
|
+
<col width="200px" class="parameters_annotations">
|
933
|
+
</colgroup>
|
934
|
+
<tbody><tr>
|
935
|
+
<td class="parameter_name"><p>desc</p></td>
|
936
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
937
|
+
<td class="parameter_annotations"> </td>
|
938
|
+
</tr></tbody>
|
939
|
+
</table></div>
|
940
|
+
</div>
|
941
|
+
<div class="refsect3">
|
942
|
+
<a name="id-1.2.4.16.10.6"></a><h4>Returns</h4>
|
943
|
+
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which should
|
944
|
+
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
945
|
+
if <em class="parameter"><code>desc</code></em>
|
946
|
+
was <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
947
|
+
<p></p>
|
948
|
+
</div>
|
949
|
+
</div>
|
950
|
+
<hr>
|
951
|
+
<div class="refsect2">
|
952
|
+
<a name="pango-font-description-hash"></a><h3>pango_font_description_hash ()</h3>
|
953
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
954
|
+
pango_font_description_hash (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
955
|
+
<p>Computes a hash of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure suitable
|
956
|
+
to be used, for example, as an argument to <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#g-hash-table-new"><code class="function">g_hash_table_new()</code></a>.
|
957
|
+
The hash value is independent of <em class="parameter"><code>desc->mask</code></em>
|
958
|
+
.</p>
|
959
|
+
<div class="refsect3">
|
960
|
+
<a name="id-1.2.4.16.11.5"></a><h4>Parameters</h4>
|
961
|
+
<div class="informaltable"><table width="100%" border="0">
|
962
|
+
<colgroup>
|
963
|
+
<col width="150px" class="parameters_name">
|
964
|
+
<col class="parameters_description">
|
965
|
+
<col width="200px" class="parameters_annotations">
|
966
|
+
</colgroup>
|
967
|
+
<tbody><tr>
|
968
|
+
<td class="parameter_name"><p>desc</p></td>
|
969
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
970
|
+
<td class="parameter_annotations"> </td>
|
971
|
+
</tr></tbody>
|
972
|
+
</table></div>
|
973
|
+
</div>
|
974
|
+
<div class="refsect3">
|
975
|
+
<a name="id-1.2.4.16.11.6"></a><h4>Returns</h4>
|
976
|
+
<p> the hash value.</p>
|
977
|
+
<p></p>
|
978
|
+
</div>
|
979
|
+
</div>
|
980
|
+
<hr>
|
981
|
+
<div class="refsect2">
|
982
|
+
<a name="pango-font-description-equal"></a><h3>pango_font_description_equal ()</h3>
|
983
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
984
|
+
pango_font_description_equal (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc1</code></em>,
|
985
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc2</code></em>);</pre>
|
986
|
+
<p>Compares two font descriptions for equality. Two font descriptions
|
987
|
+
are considered equal if the fonts they describe are provably identical.
|
988
|
+
This means that their masks do not have to match, as long as other fields
|
989
|
+
are all the same. (Two font descriptions may result in identical fonts
|
990
|
+
being loaded, but still compare <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.)</p>
|
991
|
+
<div class="refsect3">
|
992
|
+
<a name="id-1.2.4.16.12.5"></a><h4>Parameters</h4>
|
993
|
+
<div class="informaltable"><table width="100%" border="0">
|
994
|
+
<colgroup>
|
995
|
+
<col width="150px" class="parameters_name">
|
996
|
+
<col class="parameters_description">
|
997
|
+
<col width="200px" class="parameters_annotations">
|
998
|
+
</colgroup>
|
999
|
+
<tbody>
|
1000
|
+
<tr>
|
1001
|
+
<td class="parameter_name"><p>desc1</p></td>
|
1002
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1003
|
+
<td class="parameter_annotations"> </td>
|
1004
|
+
</tr>
|
1005
|
+
<tr>
|
1006
|
+
<td class="parameter_name"><p>desc2</p></td>
|
1007
|
+
<td class="parameter_description"><p>another <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1008
|
+
<td class="parameter_annotations"> </td>
|
1009
|
+
</tr>
|
1010
|
+
</tbody>
|
1011
|
+
</table></div>
|
1012
|
+
</div>
|
1013
|
+
<div class="refsect3">
|
1014
|
+
<a name="id-1.2.4.16.12.6"></a><h4>Returns</h4>
|
1015
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two font descriptions are identical,
|
1016
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
1017
|
+
<p></p>
|
1018
|
+
</div>
|
1019
|
+
</div>
|
1020
|
+
<hr>
|
1021
|
+
<div class="refsect2">
|
1022
|
+
<a name="pango-font-description-free"></a><h3>pango_font_description_free ()</h3>
|
1023
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1024
|
+
pango_font_description_free (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1025
|
+
<p>Frees a font description.</p>
|
1026
|
+
<div class="refsect3">
|
1027
|
+
<a name="id-1.2.4.16.13.5"></a><h4>Parameters</h4>
|
1028
|
+
<div class="informaltable"><table width="100%" border="0">
|
1029
|
+
<colgroup>
|
1030
|
+
<col width="150px" class="parameters_name">
|
1031
|
+
<col class="parameters_description">
|
1032
|
+
<col width="200px" class="parameters_annotations">
|
1033
|
+
</colgroup>
|
1034
|
+
<tbody><tr>
|
1035
|
+
<td class="parameter_name"><p>desc</p></td>
|
1036
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1037
|
+
<td class="parameter_annotations"> </td>
|
1038
|
+
</tr></tbody>
|
1039
|
+
</table></div>
|
1040
|
+
</div>
|
1041
|
+
</div>
|
1042
|
+
<hr>
|
1043
|
+
<div class="refsect2">
|
1044
|
+
<a name="pango-font-descriptions-free"></a><h3>pango_font_descriptions_free ()</h3>
|
1045
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1046
|
+
pango_font_descriptions_free (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> **descs</code></em>,
|
1047
|
+
<em class="parameter"><code><span class="type">int</span> n_descs</code></em>);</pre>
|
1048
|
+
<p>Frees an array of font descriptions.</p>
|
1049
|
+
<div class="refsect3">
|
1050
|
+
<a name="id-1.2.4.16.14.5"></a><h4>Parameters</h4>
|
1051
|
+
<div class="informaltable"><table width="100%" border="0">
|
1052
|
+
<colgroup>
|
1053
|
+
<col width="150px" class="parameters_name">
|
1054
|
+
<col class="parameters_description">
|
1055
|
+
<col width="200px" class="parameters_annotations">
|
1056
|
+
</colgroup>
|
1057
|
+
<tbody>
|
1058
|
+
<tr>
|
1059
|
+
<td class="parameter_name"><p>descs</p></td>
|
1060
|
+
<td class="parameter_description"><p> a pointer
|
1061
|
+
to an array of <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1062
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_descs][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
1063
|
+
</tr>
|
1064
|
+
<tr>
|
1065
|
+
<td class="parameter_name"><p>n_descs</p></td>
|
1066
|
+
<td class="parameter_description"><p>number of font descriptions in <em class="parameter"><code>descs</code></em>
|
1067
|
+
</p></td>
|
1068
|
+
<td class="parameter_annotations"> </td>
|
1069
|
+
</tr>
|
1070
|
+
</tbody>
|
1071
|
+
</table></div>
|
1072
|
+
</div>
|
1073
|
+
</div>
|
1074
|
+
<hr>
|
1075
|
+
<div class="refsect2">
|
1076
|
+
<a name="pango-font-description-set-family"></a><h3>pango_font_description_set_family ()</h3>
|
1077
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1078
|
+
pango_font_description_set_family (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1079
|
+
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);</pre>
|
1080
|
+
<p>Sets the family name field of a font description. The family
|
1081
|
+
name represents a family of related font styles, and will
|
1082
|
+
resolve to a particular <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>. In some uses of
|
1083
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, it is also possible to use a comma
|
1084
|
+
separated list of family names for this field.</p>
|
1085
|
+
<div class="refsect3">
|
1086
|
+
<a name="id-1.2.4.16.15.5"></a><h4>Parameters</h4>
|
1087
|
+
<div class="informaltable"><table width="100%" border="0">
|
1088
|
+
<colgroup>
|
1089
|
+
<col width="150px" class="parameters_name">
|
1090
|
+
<col class="parameters_description">
|
1091
|
+
<col width="200px" class="parameters_annotations">
|
1092
|
+
</colgroup>
|
1093
|
+
<tbody>
|
1094
|
+
<tr>
|
1095
|
+
<td class="parameter_name"><p>desc</p></td>
|
1096
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p></td>
|
1097
|
+
<td class="parameter_annotations"> </td>
|
1098
|
+
</tr>
|
1099
|
+
<tr>
|
1100
|
+
<td class="parameter_name"><p>family</p></td>
|
1101
|
+
<td class="parameter_description"><p>a string representing the family name.</p></td>
|
1102
|
+
<td class="parameter_annotations"> </td>
|
1103
|
+
</tr>
|
1104
|
+
</tbody>
|
1105
|
+
</table></div>
|
1106
|
+
</div>
|
1107
|
+
</div>
|
1108
|
+
<hr>
|
1109
|
+
<div class="refsect2">
|
1110
|
+
<a name="pango-font-description-set-family-static"></a><h3>pango_font_description_set_family_static ()</h3>
|
1111
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1112
|
+
pango_font_description_set_family_static
|
1113
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1114
|
+
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);</pre>
|
1115
|
+
<p>Like <a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()"><code class="function">pango_font_description_set_family()</code></a>, except that no
|
1116
|
+
copy of <em class="parameter"><code>family</code></em>
|
1117
|
+
is made. The caller must make sure that the
|
1118
|
+
string passed in stays around until <em class="parameter"><code>desc</code></em>
|
1119
|
+
has been freed
|
1120
|
+
or the name is set again. This function can be used if
|
1121
|
+
<em class="parameter"><code>family</code></em>
|
1122
|
+
is a static string such as a C string literal, or
|
1123
|
+
if <em class="parameter"><code>desc</code></em>
|
1124
|
+
is only needed temporarily.</p>
|
1125
|
+
<div class="refsect3">
|
1126
|
+
<a name="id-1.2.4.16.16.5"></a><h4>Parameters</h4>
|
1127
|
+
<div class="informaltable"><table width="100%" border="0">
|
1128
|
+
<colgroup>
|
1129
|
+
<col width="150px" class="parameters_name">
|
1130
|
+
<col class="parameters_description">
|
1131
|
+
<col width="200px" class="parameters_annotations">
|
1132
|
+
</colgroup>
|
1133
|
+
<tbody>
|
1134
|
+
<tr>
|
1135
|
+
<td class="parameter_name"><p>desc</p></td>
|
1136
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1137
|
+
<td class="parameter_annotations"> </td>
|
1138
|
+
</tr>
|
1139
|
+
<tr>
|
1140
|
+
<td class="parameter_name"><p>family</p></td>
|
1141
|
+
<td class="parameter_description"><p>a string representing the family name.</p></td>
|
1142
|
+
<td class="parameter_annotations"> </td>
|
1143
|
+
</tr>
|
1144
|
+
</tbody>
|
1145
|
+
</table></div>
|
1146
|
+
</div>
|
1147
|
+
</div>
|
1148
|
+
<hr>
|
1149
|
+
<div class="refsect2">
|
1150
|
+
<a name="pango-font-description-get-family"></a><h3>pango_font_description_get_family ()</h3>
|
1151
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
1152
|
+
pango_font_description_get_family (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1153
|
+
<p>Gets the family name field of a font description. See
|
1154
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()"><code class="function">pango_font_description_set_family()</code></a>.</p>
|
1155
|
+
<div class="refsect3">
|
1156
|
+
<a name="id-1.2.4.16.17.5"></a><h4>Parameters</h4>
|
1157
|
+
<div class="informaltable"><table width="100%" border="0">
|
1158
|
+
<colgroup>
|
1159
|
+
<col width="150px" class="parameters_name">
|
1160
|
+
<col class="parameters_description">
|
1161
|
+
<col width="200px" class="parameters_annotations">
|
1162
|
+
</colgroup>
|
1163
|
+
<tbody><tr>
|
1164
|
+
<td class="parameter_name"><p>desc</p></td>
|
1165
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p></td>
|
1166
|
+
<td class="parameter_annotations"> </td>
|
1167
|
+
</tr></tbody>
|
1168
|
+
</table></div>
|
1169
|
+
</div>
|
1170
|
+
<div class="refsect3">
|
1171
|
+
<a name="id-1.2.4.16.17.6"></a><h4>Returns</h4>
|
1172
|
+
<p> the family name field for the font description, or
|
1173
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not previously set. This has the same life-time
|
1174
|
+
as the font description itself and should not be freed.</p>
|
1175
|
+
<p></p>
|
1176
|
+
</div>
|
1177
|
+
</div>
|
1178
|
+
<hr>
|
1179
|
+
<div class="refsect2">
|
1180
|
+
<a name="pango-font-description-set-style"></a><h3>pango_font_description_set_style ()</h3>
|
1181
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1182
|
+
pango_font_description_set_style (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1183
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> style</code></em>);</pre>
|
1184
|
+
<p>Sets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. The
|
1185
|
+
<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> enumeration describes whether the font is slanted and
|
1186
|
+
the manner in which it is slanted; it can be either
|
1187
|
+
<a class="link" href="pango-Fonts.html#PANGO-STYLE-NORMAL:CAPS"><span class="type">PANGO_STYLE_NORMAL</span></a>, <a class="link" href="pango-Fonts.html#PANGO-STYLE-ITALIC:CAPS"><span class="type">PANGO_STYLE_ITALIC</span></a>, or <a class="link" href="pango-Fonts.html#PANGO-STYLE-OBLIQUE:CAPS"><span class="type">PANGO_STYLE_OBLIQUE</span></a>.
|
1188
|
+
Most fonts will either have a italic style or an oblique
|
1189
|
+
style, but not both, and font matching in Pango will
|
1190
|
+
match italic specifications with oblique fonts and vice-versa
|
1191
|
+
if an exact match is not found.</p>
|
1192
|
+
<div class="refsect3">
|
1193
|
+
<a name="id-1.2.4.16.18.5"></a><h4>Parameters</h4>
|
1194
|
+
<div class="informaltable"><table width="100%" border="0">
|
1195
|
+
<colgroup>
|
1196
|
+
<col width="150px" class="parameters_name">
|
1197
|
+
<col class="parameters_description">
|
1198
|
+
<col width="200px" class="parameters_annotations">
|
1199
|
+
</colgroup>
|
1200
|
+
<tbody>
|
1201
|
+
<tr>
|
1202
|
+
<td class="parameter_name"><p>desc</p></td>
|
1203
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1204
|
+
<td class="parameter_annotations"> </td>
|
1205
|
+
</tr>
|
1206
|
+
<tr>
|
1207
|
+
<td class="parameter_name"><p>style</p></td>
|
1208
|
+
<td class="parameter_description"><p>the style for the font description</p></td>
|
1209
|
+
<td class="parameter_annotations"> </td>
|
1210
|
+
</tr>
|
1211
|
+
</tbody>
|
1212
|
+
</table></div>
|
1213
|
+
</div>
|
1214
|
+
</div>
|
1215
|
+
<hr>
|
1216
|
+
<div class="refsect2">
|
1217
|
+
<a name="pango-font-description-get-style"></a><h3>pango_font_description_get_style ()</h3>
|
1218
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="returnvalue">PangoStyle</span></a>
|
1219
|
+
pango_font_description_get_style (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1220
|
+
<p>Gets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
1221
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-style" title="pango_font_description_set_style ()"><code class="function">pango_font_description_set_style()</code></a>.</p>
|
1222
|
+
<div class="refsect3">
|
1223
|
+
<a name="id-1.2.4.16.19.5"></a><h4>Parameters</h4>
|
1224
|
+
<div class="informaltable"><table width="100%" border="0">
|
1225
|
+
<colgroup>
|
1226
|
+
<col width="150px" class="parameters_name">
|
1227
|
+
<col class="parameters_description">
|
1228
|
+
<col width="200px" class="parameters_annotations">
|
1229
|
+
</colgroup>
|
1230
|
+
<tbody><tr>
|
1231
|
+
<td class="parameter_name"><p>desc</p></td>
|
1232
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1233
|
+
<td class="parameter_annotations"> </td>
|
1234
|
+
</tr></tbody>
|
1235
|
+
</table></div>
|
1236
|
+
</div>
|
1237
|
+
<div class="refsect3">
|
1238
|
+
<a name="id-1.2.4.16.19.6"></a><h4>Returns</h4>
|
1239
|
+
<p> the style field for the font description.
|
1240
|
+
Use <a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1241
|
+
the field was explicitly set or not.</p>
|
1242
|
+
<p></p>
|
1243
|
+
</div>
|
1244
|
+
</div>
|
1245
|
+
<hr>
|
1246
|
+
<div class="refsect2">
|
1247
|
+
<a name="pango-font-description-set-variant"></a><h3>pango_font_description_set_variant ()</h3>
|
1248
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1249
|
+
pango_font_description_set_variant (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1250
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a> variant</code></em>);</pre>
|
1251
|
+
<p>Sets the variant field of a font description. The <a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a>
|
1252
|
+
can either be <a class="link" href="pango-Fonts.html#PANGO-VARIANT-NORMAL:CAPS"><code class="literal">PANGO_VARIANT_NORMAL</code></a> or <a class="link" href="pango-Fonts.html#PANGO-VARIANT-SMALL-CAPS"><code class="literal">PANGO_VARIANT_SMALL_CAPS</code></a>.</p>
|
1253
|
+
<div class="refsect3">
|
1254
|
+
<a name="id-1.2.4.16.20.5"></a><h4>Parameters</h4>
|
1255
|
+
<div class="informaltable"><table width="100%" border="0">
|
1256
|
+
<colgroup>
|
1257
|
+
<col width="150px" class="parameters_name">
|
1258
|
+
<col class="parameters_description">
|
1259
|
+
<col width="200px" class="parameters_annotations">
|
1260
|
+
</colgroup>
|
1261
|
+
<tbody>
|
1262
|
+
<tr>
|
1263
|
+
<td class="parameter_name"><p>desc</p></td>
|
1264
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1265
|
+
<td class="parameter_annotations"> </td>
|
1266
|
+
</tr>
|
1267
|
+
<tr>
|
1268
|
+
<td class="parameter_name"><p>variant</p></td>
|
1269
|
+
<td class="parameter_description"><p>the variant type for the font description.</p></td>
|
1270
|
+
<td class="parameter_annotations"> </td>
|
1271
|
+
</tr>
|
1272
|
+
</tbody>
|
1273
|
+
</table></div>
|
1274
|
+
</div>
|
1275
|
+
</div>
|
1276
|
+
<hr>
|
1277
|
+
<div class="refsect2">
|
1278
|
+
<a name="pango-font-description-get-variant"></a><h3>pango_font_description_get_variant ()</h3>
|
1279
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="returnvalue">PangoVariant</span></a>
|
1280
|
+
pango_font_description_get_variant (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1281
|
+
<p>Gets the variant field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
1282
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-variant" title="pango_font_description_set_variant ()"><code class="function">pango_font_description_set_variant()</code></a>.</p>
|
1283
|
+
<div class="refsect3">
|
1284
|
+
<a name="id-1.2.4.16.21.5"></a><h4>Parameters</h4>
|
1285
|
+
<div class="informaltable"><table width="100%" border="0">
|
1286
|
+
<colgroup>
|
1287
|
+
<col width="150px" class="parameters_name">
|
1288
|
+
<col class="parameters_description">
|
1289
|
+
<col width="200px" class="parameters_annotations">
|
1290
|
+
</colgroup>
|
1291
|
+
<tbody><tr>
|
1292
|
+
<td class="parameter_name"><p>desc</p></td>
|
1293
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p></td>
|
1294
|
+
<td class="parameter_annotations"> </td>
|
1295
|
+
</tr></tbody>
|
1296
|
+
</table></div>
|
1297
|
+
</div>
|
1298
|
+
<div class="refsect3">
|
1299
|
+
<a name="id-1.2.4.16.21.6"></a><h4>Returns</h4>
|
1300
|
+
<p> the variant field for the font description. Use
|
1301
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1302
|
+
the field was explicitly set or not.</p>
|
1303
|
+
<p></p>
|
1304
|
+
</div>
|
1305
|
+
</div>
|
1306
|
+
<hr>
|
1307
|
+
<div class="refsect2">
|
1308
|
+
<a name="pango-font-description-set-weight"></a><h3>pango_font_description_set_weight ()</h3>
|
1309
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1310
|
+
pango_font_description_set_weight (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1311
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> weight</code></em>);</pre>
|
1312
|
+
<p>Sets the weight field of a font description. The weight field
|
1313
|
+
specifies how bold or light the font should be. In addition
|
1314
|
+
to the values of the <a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> enumeration, other intermediate
|
1315
|
+
numeric values are possible.</p>
|
1316
|
+
<div class="refsect3">
|
1317
|
+
<a name="id-1.2.4.16.22.5"></a><h4>Parameters</h4>
|
1318
|
+
<div class="informaltable"><table width="100%" border="0">
|
1319
|
+
<colgroup>
|
1320
|
+
<col width="150px" class="parameters_name">
|
1321
|
+
<col class="parameters_description">
|
1322
|
+
<col width="200px" class="parameters_annotations">
|
1323
|
+
</colgroup>
|
1324
|
+
<tbody>
|
1325
|
+
<tr>
|
1326
|
+
<td class="parameter_name"><p>desc</p></td>
|
1327
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1328
|
+
<td class="parameter_annotations"> </td>
|
1329
|
+
</tr>
|
1330
|
+
<tr>
|
1331
|
+
<td class="parameter_name"><p>weight</p></td>
|
1332
|
+
<td class="parameter_description"><p>the weight for the font description.</p></td>
|
1333
|
+
<td class="parameter_annotations"> </td>
|
1334
|
+
</tr>
|
1335
|
+
</tbody>
|
1336
|
+
</table></div>
|
1337
|
+
</div>
|
1338
|
+
</div>
|
1339
|
+
<hr>
|
1340
|
+
<div class="refsect2">
|
1341
|
+
<a name="pango-font-description-get-weight"></a><h3>pango_font_description_get_weight ()</h3>
|
1342
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="returnvalue">PangoWeight</span></a>
|
1343
|
+
pango_font_description_get_weight (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1344
|
+
<p>Gets the weight field of a font description. See
|
1345
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-weight" title="pango_font_description_set_weight ()"><code class="function">pango_font_description_set_weight()</code></a>.</p>
|
1346
|
+
<div class="refsect3">
|
1347
|
+
<a name="id-1.2.4.16.23.5"></a><h4>Parameters</h4>
|
1348
|
+
<div class="informaltable"><table width="100%" border="0">
|
1349
|
+
<colgroup>
|
1350
|
+
<col width="150px" class="parameters_name">
|
1351
|
+
<col class="parameters_description">
|
1352
|
+
<col width="200px" class="parameters_annotations">
|
1353
|
+
</colgroup>
|
1354
|
+
<tbody><tr>
|
1355
|
+
<td class="parameter_name"><p>desc</p></td>
|
1356
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1357
|
+
<td class="parameter_annotations"> </td>
|
1358
|
+
</tr></tbody>
|
1359
|
+
</table></div>
|
1360
|
+
</div>
|
1361
|
+
<div class="refsect3">
|
1362
|
+
<a name="id-1.2.4.16.23.6"></a><h4>Returns</h4>
|
1363
|
+
<p> the weight field for the font description. Use
|
1364
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1365
|
+
the field was explicitly set or not.</p>
|
1366
|
+
<p></p>
|
1367
|
+
</div>
|
1368
|
+
</div>
|
1369
|
+
<hr>
|
1370
|
+
<div class="refsect2">
|
1371
|
+
<a name="pango-font-description-set-stretch"></a><h3>pango_font_description_set_stretch ()</h3>
|
1372
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1373
|
+
pango_font_description_set_stretch (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1374
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);</pre>
|
1375
|
+
<p>Sets the stretch field of a font description. The stretch field
|
1376
|
+
specifies how narrow or wide the font should be.</p>
|
1377
|
+
<div class="refsect3">
|
1378
|
+
<a name="id-1.2.4.16.24.5"></a><h4>Parameters</h4>
|
1379
|
+
<div class="informaltable"><table width="100%" border="0">
|
1380
|
+
<colgroup>
|
1381
|
+
<col width="150px" class="parameters_name">
|
1382
|
+
<col class="parameters_description">
|
1383
|
+
<col width="200px" class="parameters_annotations">
|
1384
|
+
</colgroup>
|
1385
|
+
<tbody>
|
1386
|
+
<tr>
|
1387
|
+
<td class="parameter_name"><p>desc</p></td>
|
1388
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1389
|
+
<td class="parameter_annotations"> </td>
|
1390
|
+
</tr>
|
1391
|
+
<tr>
|
1392
|
+
<td class="parameter_name"><p>stretch</p></td>
|
1393
|
+
<td class="parameter_description"><p>the stretch for the font description</p></td>
|
1394
|
+
<td class="parameter_annotations"> </td>
|
1395
|
+
</tr>
|
1396
|
+
</tbody>
|
1397
|
+
</table></div>
|
1398
|
+
</div>
|
1399
|
+
</div>
|
1400
|
+
<hr>
|
1401
|
+
<div class="refsect2">
|
1402
|
+
<a name="pango-font-description-get-stretch"></a><h3>pango_font_description_get_stretch ()</h3>
|
1403
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="returnvalue">PangoStretch</span></a>
|
1404
|
+
pango_font_description_get_stretch (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1405
|
+
<p>Gets the stretch field of a font description.
|
1406
|
+
See <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" title="pango_font_description_set_stretch ()"><code class="function">pango_font_description_set_stretch()</code></a>.</p>
|
1407
|
+
<div class="refsect3">
|
1408
|
+
<a name="id-1.2.4.16.25.5"></a><h4>Parameters</h4>
|
1409
|
+
<div class="informaltable"><table width="100%" border="0">
|
1410
|
+
<colgroup>
|
1411
|
+
<col width="150px" class="parameters_name">
|
1412
|
+
<col class="parameters_description">
|
1413
|
+
<col width="200px" class="parameters_annotations">
|
1414
|
+
</colgroup>
|
1415
|
+
<tbody><tr>
|
1416
|
+
<td class="parameter_name"><p>desc</p></td>
|
1417
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p></td>
|
1418
|
+
<td class="parameter_annotations"> </td>
|
1419
|
+
</tr></tbody>
|
1420
|
+
</table></div>
|
1421
|
+
</div>
|
1422
|
+
<div class="refsect3">
|
1423
|
+
<a name="id-1.2.4.16.25.6"></a><h4>Returns</h4>
|
1424
|
+
<p> the stretch field for the font description. Use
|
1425
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1426
|
+
the field was explicitly set or not.</p>
|
1427
|
+
<p></p>
|
1428
|
+
</div>
|
1429
|
+
</div>
|
1430
|
+
<hr>
|
1431
|
+
<div class="refsect2">
|
1432
|
+
<a name="pango-font-description-set-size"></a><h3>pango_font_description_set_size ()</h3>
|
1433
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1434
|
+
pango_font_description_set_size (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1435
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);</pre>
|
1436
|
+
<p>Sets the size field of a font description in fractional points. This is mutually
|
1437
|
+
exclusive with <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a>.</p>
|
1438
|
+
<div class="refsect3">
|
1439
|
+
<a name="id-1.2.4.16.26.5"></a><h4>Parameters</h4>
|
1440
|
+
<div class="informaltable"><table width="100%" border="0">
|
1441
|
+
<colgroup>
|
1442
|
+
<col width="150px" class="parameters_name">
|
1443
|
+
<col class="parameters_description">
|
1444
|
+
<col width="200px" class="parameters_annotations">
|
1445
|
+
</colgroup>
|
1446
|
+
<tbody>
|
1447
|
+
<tr>
|
1448
|
+
<td class="parameter_name"><p>desc</p></td>
|
1449
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1450
|
+
<td class="parameter_annotations"> </td>
|
1451
|
+
</tr>
|
1452
|
+
<tr>
|
1453
|
+
<td class="parameter_name"><p>size</p></td>
|
1454
|
+
<td class="parameter_description"><p>the size of the font in points, scaled by PANGO_SCALE. (That is,
|
1455
|
+
a <em class="parameter"><code>size</code></em>
|
1456
|
+
value of 10 * PANGO_SCALE is a 10 point font. The conversion
|
1457
|
+
factor between points and device units depends on system configuration
|
1458
|
+
and the output device. For screen display, a logical DPI of 96 is
|
1459
|
+
common, in which case a 10 point font corresponds to a 10 * (96 / 72) = 13.3
|
1460
|
+
pixel font. Use <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a> if you need
|
1461
|
+
a particular size in device units.</p></td>
|
1462
|
+
<td class="parameter_annotations"> </td>
|
1463
|
+
</tr>
|
1464
|
+
</tbody>
|
1465
|
+
</table></div>
|
1466
|
+
</div>
|
1467
|
+
</div>
|
1468
|
+
<hr>
|
1469
|
+
<div class="refsect2">
|
1470
|
+
<a name="pango-font-description-get-size"></a><h3>pango_font_description_get_size ()</h3>
|
1471
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1472
|
+
pango_font_description_get_size (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1473
|
+
<p>Gets the size field of a font description.
|
1474
|
+
See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a>.</p>
|
1475
|
+
<div class="refsect3">
|
1476
|
+
<a name="id-1.2.4.16.27.5"></a><h4>Parameters</h4>
|
1477
|
+
<div class="informaltable"><table width="100%" border="0">
|
1478
|
+
<colgroup>
|
1479
|
+
<col width="150px" class="parameters_name">
|
1480
|
+
<col class="parameters_description">
|
1481
|
+
<col width="200px" class="parameters_annotations">
|
1482
|
+
</colgroup>
|
1483
|
+
<tbody><tr>
|
1484
|
+
<td class="parameter_name"><p>desc</p></td>
|
1485
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1486
|
+
<td class="parameter_annotations"> </td>
|
1487
|
+
</tr></tbody>
|
1488
|
+
</table></div>
|
1489
|
+
</div>
|
1490
|
+
<div class="refsect3">
|
1491
|
+
<a name="id-1.2.4.16.27.6"></a><h4>Returns</h4>
|
1492
|
+
<p> the size field for the font description in points or device units.
|
1493
|
+
You must call <a class="link" href="pango-Fonts.html#pango-font-description-get-size-is-absolute" title="pango_font_description_get_size_is_absolute ()"><code class="function">pango_font_description_get_size_is_absolute()</code></a>
|
1494
|
+
to find out which is the case. Returns 0 if the size field has not
|
1495
|
+
previously been set or it has been set to 0 explicitly.
|
1496
|
+
Use <a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to
|
1497
|
+
find out if the field was explicitly set or not.</p>
|
1498
|
+
<p></p>
|
1499
|
+
</div>
|
1500
|
+
</div>
|
1501
|
+
<hr>
|
1502
|
+
<div class="refsect2">
|
1503
|
+
<a name="pango-font-description-set-absolute-size"></a><h3>pango_font_description_set_absolute_size ()</h3>
|
1504
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1505
|
+
pango_font_description_set_absolute_size
|
1506
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1507
|
+
<em class="parameter"><code><span class="type">double</span> size</code></em>);</pre>
|
1508
|
+
<p>Sets the size field of a font description, in device units. This is mutually
|
1509
|
+
exclusive with <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a> which sets the font size
|
1510
|
+
in points.</p>
|
1511
|
+
<div class="refsect3">
|
1512
|
+
<a name="id-1.2.4.16.28.5"></a><h4>Parameters</h4>
|
1513
|
+
<div class="informaltable"><table width="100%" border="0">
|
1514
|
+
<colgroup>
|
1515
|
+
<col width="150px" class="parameters_name">
|
1516
|
+
<col class="parameters_description">
|
1517
|
+
<col width="200px" class="parameters_annotations">
|
1518
|
+
</colgroup>
|
1519
|
+
<tbody>
|
1520
|
+
<tr>
|
1521
|
+
<td class="parameter_name"><p>desc</p></td>
|
1522
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1523
|
+
<td class="parameter_annotations"> </td>
|
1524
|
+
</tr>
|
1525
|
+
<tr>
|
1526
|
+
<td class="parameter_name"><p>size</p></td>
|
1527
|
+
<td class="parameter_description"><p>the new size, in Pango units. There are <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> Pango units in one
|
1528
|
+
device unit. For an output backend where a device unit is a pixel, a <em class="parameter"><code>size</code></em>
|
1529
|
+
value of 10 * PANGO_SCALE gives a 10 pixel font.</p></td>
|
1530
|
+
<td class="parameter_annotations"> </td>
|
1531
|
+
</tr>
|
1532
|
+
</tbody>
|
1533
|
+
</table></div>
|
1534
|
+
</div>
|
1535
|
+
<p class="since">Since 1.8</p>
|
1536
|
+
</div>
|
1537
|
+
<hr>
|
1538
|
+
<div class="refsect2">
|
1539
|
+
<a name="pango-font-description-get-size-is-absolute"></a><h3>pango_font_description_get_size_is_absolute ()</h3>
|
1540
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1541
|
+
pango_font_description_get_size_is_absolute
|
1542
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1543
|
+
<p>Determines whether the size of the font is in points (not absolute) or device units (absolute).
|
1544
|
+
See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a> and <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a>.</p>
|
1545
|
+
<div class="refsect3">
|
1546
|
+
<a name="id-1.2.4.16.29.5"></a><h4>Parameters</h4>
|
1547
|
+
<div class="informaltable"><table width="100%" border="0">
|
1548
|
+
<colgroup>
|
1549
|
+
<col width="150px" class="parameters_name">
|
1550
|
+
<col class="parameters_description">
|
1551
|
+
<col width="200px" class="parameters_annotations">
|
1552
|
+
</colgroup>
|
1553
|
+
<tbody><tr>
|
1554
|
+
<td class="parameter_name"><p>desc</p></td>
|
1555
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1556
|
+
<td class="parameter_annotations"> </td>
|
1557
|
+
</tr></tbody>
|
1558
|
+
</table></div>
|
1559
|
+
</div>
|
1560
|
+
<div class="refsect3">
|
1561
|
+
<a name="id-1.2.4.16.29.6"></a><h4>Returns</h4>
|
1562
|
+
<p> whether the size for the font description is in
|
1563
|
+
points or device units. Use <a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to
|
1564
|
+
find out if the size field of the font description was explicitly set or not.</p>
|
1565
|
+
<p></p>
|
1566
|
+
</div>
|
1567
|
+
<p class="since">Since 1.8</p>
|
1568
|
+
</div>
|
1569
|
+
<hr>
|
1570
|
+
<div class="refsect2">
|
1571
|
+
<a name="pango-font-description-set-gravity"></a><h3>pango_font_description_set_gravity ()</h3>
|
1572
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1573
|
+
pango_font_description_set_gravity (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1574
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);</pre>
|
1575
|
+
<p>Sets the gravity field of a font description. The gravity field
|
1576
|
+
specifies how the glyphs should be rotated. If <em class="parameter"><code>gravity</code></em>
|
1577
|
+
is
|
1578
|
+
<a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>, this actually unsets the gravity mask on
|
1579
|
+
the font description.</p>
|
1580
|
+
<p>This function is seldom useful to the user. Gravity should normally
|
1581
|
+
be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
1582
|
+
<div class="refsect3">
|
1583
|
+
<a name="id-1.2.4.16.30.6"></a><h4>Parameters</h4>
|
1584
|
+
<div class="informaltable"><table width="100%" border="0">
|
1585
|
+
<colgroup>
|
1586
|
+
<col width="150px" class="parameters_name">
|
1587
|
+
<col class="parameters_description">
|
1588
|
+
<col width="200px" class="parameters_annotations">
|
1589
|
+
</colgroup>
|
1590
|
+
<tbody>
|
1591
|
+
<tr>
|
1592
|
+
<td class="parameter_name"><p>desc</p></td>
|
1593
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1594
|
+
<td class="parameter_annotations"> </td>
|
1595
|
+
</tr>
|
1596
|
+
<tr>
|
1597
|
+
<td class="parameter_name"><p>gravity</p></td>
|
1598
|
+
<td class="parameter_description"><p>the gravity for the font description.</p></td>
|
1599
|
+
<td class="parameter_annotations"> </td>
|
1600
|
+
</tr>
|
1601
|
+
</tbody>
|
1602
|
+
</table></div>
|
1603
|
+
</div>
|
1604
|
+
<p class="since">Since 1.16</p>
|
1605
|
+
</div>
|
1606
|
+
<hr>
|
1607
|
+
<div class="refsect2">
|
1608
|
+
<a name="pango-font-description-get-gravity"></a><h3>pango_font_description_get_gravity ()</h3>
|
1609
|
+
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a>
|
1610
|
+
pango_font_description_get_gravity (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1611
|
+
<p>Gets the gravity field of a font description. See
|
1612
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()"><code class="function">pango_font_description_set_gravity()</code></a>.</p>
|
1613
|
+
<div class="refsect3">
|
1614
|
+
<a name="id-1.2.4.16.31.5"></a><h4>Parameters</h4>
|
1615
|
+
<div class="informaltable"><table width="100%" border="0">
|
1616
|
+
<colgroup>
|
1617
|
+
<col width="150px" class="parameters_name">
|
1618
|
+
<col class="parameters_description">
|
1619
|
+
<col width="200px" class="parameters_annotations">
|
1620
|
+
</colgroup>
|
1621
|
+
<tbody><tr>
|
1622
|
+
<td class="parameter_name"><p>desc</p></td>
|
1623
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1624
|
+
<td class="parameter_annotations"> </td>
|
1625
|
+
</tr></tbody>
|
1626
|
+
</table></div>
|
1627
|
+
</div>
|
1628
|
+
<div class="refsect3">
|
1629
|
+
<a name="id-1.2.4.16.31.6"></a><h4>Returns</h4>
|
1630
|
+
<p> the gravity field for the font description. Use
|
1631
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1632
|
+
the field was explicitly set or not.</p>
|
1633
|
+
<p></p>
|
1634
|
+
</div>
|
1635
|
+
<p class="since">Since 1.16</p>
|
1636
|
+
</div>
|
1637
|
+
<hr>
|
1638
|
+
<div class="refsect2">
|
1639
|
+
<a name="pango-font-description-get-set-fields"></a><h3>pango_font_description_get_set_fields ()</h3>
|
1640
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="returnvalue">PangoFontMask</span></a>
|
1641
|
+
pango_font_description_get_set_fields (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1642
|
+
<p>Determines which fields in a font description have been set.</p>
|
1643
|
+
<div class="refsect3">
|
1644
|
+
<a name="id-1.2.4.16.32.5"></a><h4>Parameters</h4>
|
1645
|
+
<div class="informaltable"><table width="100%" border="0">
|
1646
|
+
<colgroup>
|
1647
|
+
<col width="150px" class="parameters_name">
|
1648
|
+
<col class="parameters_description">
|
1649
|
+
<col width="200px" class="parameters_annotations">
|
1650
|
+
</colgroup>
|
1651
|
+
<tbody><tr>
|
1652
|
+
<td class="parameter_name"><p>desc</p></td>
|
1653
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1654
|
+
<td class="parameter_annotations"> </td>
|
1655
|
+
</tr></tbody>
|
1656
|
+
</table></div>
|
1657
|
+
</div>
|
1658
|
+
<div class="refsect3">
|
1659
|
+
<a name="id-1.2.4.16.32.6"></a><h4>Returns</h4>
|
1660
|
+
<p> a bitmask with bits set corresponding to the
|
1661
|
+
fields in <em class="parameter"><code>desc</code></em>
|
1662
|
+
that have been set.</p>
|
1663
|
+
<p></p>
|
1664
|
+
</div>
|
1665
|
+
</div>
|
1666
|
+
<hr>
|
1667
|
+
<div class="refsect2">
|
1668
|
+
<a name="pango-font-description-unset-fields"></a><h3>pango_font_description_unset_fields ()</h3>
|
1669
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1670
|
+
pango_font_description_unset_fields (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1671
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="type">PangoFontMask</span></a> to_unset</code></em>);</pre>
|
1672
|
+
<p>Unsets some of the fields in a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. The unset
|
1673
|
+
fields will get back to their default values.</p>
|
1674
|
+
<div class="refsect3">
|
1675
|
+
<a name="id-1.2.4.16.33.5"></a><h4>Parameters</h4>
|
1676
|
+
<div class="informaltable"><table width="100%" border="0">
|
1677
|
+
<colgroup>
|
1678
|
+
<col width="150px" class="parameters_name">
|
1679
|
+
<col class="parameters_description">
|
1680
|
+
<col width="200px" class="parameters_annotations">
|
1681
|
+
</colgroup>
|
1682
|
+
<tbody>
|
1683
|
+
<tr>
|
1684
|
+
<td class="parameter_name"><p>desc</p></td>
|
1685
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1686
|
+
<td class="parameter_annotations"> </td>
|
1687
|
+
</tr>
|
1688
|
+
<tr>
|
1689
|
+
<td class="parameter_name"><p>to_unset</p></td>
|
1690
|
+
<td class="parameter_description"><p>bitmask of fields in the <em class="parameter"><code>desc</code></em>
|
1691
|
+
to unset.</p></td>
|
1692
|
+
<td class="parameter_annotations"> </td>
|
1693
|
+
</tr>
|
1694
|
+
</tbody>
|
1695
|
+
</table></div>
|
1696
|
+
</div>
|
1697
|
+
</div>
|
1698
|
+
<hr>
|
1699
|
+
<div class="refsect2">
|
1700
|
+
<a name="pango-font-description-merge"></a><h3>pango_font_description_merge ()</h3>
|
1701
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1702
|
+
pango_font_description_merge (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1703
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
1704
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> replace_existing</code></em>);</pre>
|
1705
|
+
<p>Merges the fields that are set in <em class="parameter"><code>desc_to_merge</code></em>
|
1706
|
+
into the fields in
|
1707
|
+
<em class="parameter"><code>desc</code></em>
|
1708
|
+
. If <em class="parameter"><code>replace_existing</code></em>
|
1709
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, only fields in <em class="parameter"><code>desc</code></em>
|
1710
|
+
that
|
1711
|
+
are not already set are affected. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then fields that are
|
1712
|
+
already set will be replaced as well.</p>
|
1713
|
+
<p>If <em class="parameter"><code>desc_to_merge</code></em>
|
1714
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function performs nothing.</p>
|
1715
|
+
<div class="refsect3">
|
1716
|
+
<a name="id-1.2.4.16.34.6"></a><h4>Parameters</h4>
|
1717
|
+
<div class="informaltable"><table width="100%" border="0">
|
1718
|
+
<colgroup>
|
1719
|
+
<col width="150px" class="parameters_name">
|
1720
|
+
<col class="parameters_description">
|
1721
|
+
<col width="200px" class="parameters_annotations">
|
1722
|
+
</colgroup>
|
1723
|
+
<tbody>
|
1724
|
+
<tr>
|
1725
|
+
<td class="parameter_name"><p>desc</p></td>
|
1726
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1727
|
+
<td class="parameter_annotations"> </td>
|
1728
|
+
</tr>
|
1729
|
+
<tr>
|
1730
|
+
<td class="parameter_name"><p>desc_to_merge</p></td>
|
1731
|
+
<td class="parameter_description"><p> the <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> to merge from, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1732
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1733
|
+
</tr>
|
1734
|
+
<tr>
|
1735
|
+
<td class="parameter_name"><p>replace_existing</p></td>
|
1736
|
+
<td class="parameter_description"><p>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, replace fields in <em class="parameter"><code>desc</code></em>
|
1737
|
+
with the
|
1738
|
+
corresponding values from <em class="parameter"><code>desc_to_merge</code></em>
|
1739
|
+
, even if they
|
1740
|
+
are already exist.</p></td>
|
1741
|
+
<td class="parameter_annotations"> </td>
|
1742
|
+
</tr>
|
1743
|
+
</tbody>
|
1744
|
+
</table></div>
|
1745
|
+
</div>
|
1746
|
+
</div>
|
1747
|
+
<hr>
|
1748
|
+
<div class="refsect2">
|
1749
|
+
<a name="pango-font-description-merge-static"></a><h3>pango_font_description_merge_static ()</h3>
|
1750
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1751
|
+
pango_font_description_merge_static (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1752
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
1753
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> replace_existing</code></em>);</pre>
|
1754
|
+
<p>Like <a class="link" href="pango-Fonts.html#pango-font-description-merge" title="pango_font_description_merge ()"><code class="function">pango_font_description_merge()</code></a>, but only a shallow copy is made
|
1755
|
+
of the family name and other allocated fields. <em class="parameter"><code>desc</code></em>
|
1756
|
+
can only be
|
1757
|
+
used until <em class="parameter"><code>desc_to_merge</code></em>
|
1758
|
+
is modified or freed. This is meant
|
1759
|
+
to be used when the merged font description is only needed temporarily.</p>
|
1760
|
+
<div class="refsect3">
|
1761
|
+
<a name="id-1.2.4.16.35.5"></a><h4>Parameters</h4>
|
1762
|
+
<div class="informaltable"><table width="100%" border="0">
|
1763
|
+
<colgroup>
|
1764
|
+
<col width="150px" class="parameters_name">
|
1765
|
+
<col class="parameters_description">
|
1766
|
+
<col width="200px" class="parameters_annotations">
|
1767
|
+
</colgroup>
|
1768
|
+
<tbody>
|
1769
|
+
<tr>
|
1770
|
+
<td class="parameter_name"><p>desc</p></td>
|
1771
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1772
|
+
<td class="parameter_annotations"> </td>
|
1773
|
+
</tr>
|
1774
|
+
<tr>
|
1775
|
+
<td class="parameter_name"><p>desc_to_merge</p></td>
|
1776
|
+
<td class="parameter_description"><p>the <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> to merge from</p></td>
|
1777
|
+
<td class="parameter_annotations"> </td>
|
1778
|
+
</tr>
|
1779
|
+
<tr>
|
1780
|
+
<td class="parameter_name"><p>replace_existing</p></td>
|
1781
|
+
<td class="parameter_description"><p>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, replace fields in <em class="parameter"><code>desc</code></em>
|
1782
|
+
with the
|
1783
|
+
corresponding values from <em class="parameter"><code>desc_to_merge</code></em>
|
1784
|
+
, even if they
|
1785
|
+
are already exist.</p></td>
|
1786
|
+
<td class="parameter_annotations"> </td>
|
1787
|
+
</tr>
|
1788
|
+
</tbody>
|
1789
|
+
</table></div>
|
1790
|
+
</div>
|
1791
|
+
</div>
|
1792
|
+
<hr>
|
1793
|
+
<div class="refsect2">
|
1794
|
+
<a name="pango-font-description-better-match"></a><h3>pango_font_description_better_match ()</h3>
|
1795
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1796
|
+
pango_font_description_better_match (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1797
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *old_match</code></em>,
|
1798
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *new_match</code></em>);</pre>
|
1799
|
+
<p>Determines if the style attributes of <em class="parameter"><code>new_match</code></em>
|
1800
|
+
are a closer match
|
1801
|
+
for <em class="parameter"><code>desc</code></em>
|
1802
|
+
than those of <em class="parameter"><code>old_match</code></em>
|
1803
|
+
are, or if <em class="parameter"><code>old_match</code></em>
|
1804
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
1805
|
+
determines if <em class="parameter"><code>new_match</code></em>
|
1806
|
+
is a match at all.
|
1807
|
+
Approximate matching is done for
|
1808
|
+
weight and style; other style attributes must match exactly.
|
1809
|
+
Style attributes are all attributes other than family and size-related
|
1810
|
+
attributes. Approximate matching for style considers PANGO_STYLE_OBLIQUE
|
1811
|
+
and PANGO_STYLE_ITALIC as matches, but not as good a match as when the
|
1812
|
+
styles are equal.</p>
|
1813
|
+
<p>Note that <em class="parameter"><code>old_match</code></em>
|
1814
|
+
must match <em class="parameter"><code>desc</code></em>
|
1815
|
+
.</p>
|
1816
|
+
<div class="refsect3">
|
1817
|
+
<a name="id-1.2.4.16.36.6"></a><h4>Parameters</h4>
|
1818
|
+
<div class="informaltable"><table width="100%" border="0">
|
1819
|
+
<colgroup>
|
1820
|
+
<col width="150px" class="parameters_name">
|
1821
|
+
<col class="parameters_description">
|
1822
|
+
<col width="200px" class="parameters_annotations">
|
1823
|
+
</colgroup>
|
1824
|
+
<tbody>
|
1825
|
+
<tr>
|
1826
|
+
<td class="parameter_name"><p>desc</p></td>
|
1827
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1828
|
+
<td class="parameter_annotations"> </td>
|
1829
|
+
</tr>
|
1830
|
+
<tr>
|
1831
|
+
<td class="parameter_name"><p>old_match</p></td>
|
1832
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1833
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1834
|
+
</tr>
|
1835
|
+
<tr>
|
1836
|
+
<td class="parameter_name"><p>new_match</p></td>
|
1837
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1838
|
+
<td class="parameter_annotations"> </td>
|
1839
|
+
</tr>
|
1840
|
+
</tbody>
|
1841
|
+
</table></div>
|
1842
|
+
</div>
|
1843
|
+
<div class="refsect3">
|
1844
|
+
<a name="id-1.2.4.16.36.7"></a><h4>Returns</h4>
|
1845
|
+
<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>new_match</code></em>
|
1846
|
+
is a better match</p>
|
1847
|
+
<p></p>
|
1848
|
+
</div>
|
1849
|
+
</div>
|
1850
|
+
<hr>
|
1851
|
+
<div class="refsect2">
|
1852
|
+
<a name="pango-font-description-from-string"></a><h3>pango_font_description_from_string ()</h3>
|
1853
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
1854
|
+
pango_font_description_from_string (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
|
1855
|
+
<p>Creates a new font description from a string representation in the
|
1856
|
+
form "FAMILY-LIST [SIZE]", where FAMILY-LIST is a
|
1857
|
+
comma separated list of families optionally terminated by a comma,
|
1858
|
+
STYLE_OPTIONS is a whitespace separated list of words where each WORD
|
1859
|
+
describes one of style, variant, weight, stretch, or gravity, and SIZE
|
1860
|
+
is a decimal number (size in points) or optionally followed by the
|
1861
|
+
unit modifier "px" for absolute size. Any one of the options may
|
1862
|
+
be absent. If FAMILY-LIST is absent, then the family_name field of
|
1863
|
+
the resulting font description will be initialized to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If
|
1864
|
+
STYLE-OPTIONS is missing, then all style options will be set to the
|
1865
|
+
default values. If SIZE is missing, the size in the resulting font
|
1866
|
+
description will be set to 0.</p>
|
1867
|
+
<div class="refsect3">
|
1868
|
+
<a name="id-1.2.4.16.37.5"></a><h4>Parameters</h4>
|
1869
|
+
<div class="informaltable"><table width="100%" border="0">
|
1870
|
+
<colgroup>
|
1871
|
+
<col width="150px" class="parameters_name">
|
1872
|
+
<col class="parameters_description">
|
1873
|
+
<col width="200px" class="parameters_annotations">
|
1874
|
+
</colgroup>
|
1875
|
+
<tbody><tr>
|
1876
|
+
<td class="parameter_name"><p>str</p></td>
|
1877
|
+
<td class="parameter_description"><p>string representation of a font description.</p></td>
|
1878
|
+
<td class="parameter_annotations"> </td>
|
1879
|
+
</tr></tbody>
|
1880
|
+
</table></div>
|
1881
|
+
</div>
|
1882
|
+
<div class="refsect3">
|
1883
|
+
<a name="id-1.2.4.16.37.6"></a><h4>Returns</h4>
|
1884
|
+
<p> a new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p>
|
1885
|
+
<p></p>
|
1886
|
+
</div>
|
1887
|
+
</div>
|
1888
|
+
<hr>
|
1889
|
+
<div class="refsect2">
|
1890
|
+
<a name="pango-font-description-to-string"></a><h3>pango_font_description_to_string ()</h3>
|
1891
|
+
<pre class="programlisting"><span class="returnvalue">char</span> *
|
1892
|
+
pango_font_description_to_string (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1893
|
+
<p>Creates a string representation of a font description. See
|
1894
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-from-string" title="pango_font_description_from_string ()"><code class="function">pango_font_description_from_string()</code></a> for a description of the
|
1895
|
+
format of the string representation. The family list in the
|
1896
|
+
string description will only have a terminating comma if the
|
1897
|
+
last word of the list is a valid style option.</p>
|
1898
|
+
<div class="refsect3">
|
1899
|
+
<a name="id-1.2.4.16.38.5"></a><h4>Parameters</h4>
|
1900
|
+
<div class="informaltable"><table width="100%" border="0">
|
1901
|
+
<colgroup>
|
1902
|
+
<col width="150px" class="parameters_name">
|
1903
|
+
<col class="parameters_description">
|
1904
|
+
<col width="200px" class="parameters_annotations">
|
1905
|
+
</colgroup>
|
1906
|
+
<tbody><tr>
|
1907
|
+
<td class="parameter_name"><p>desc</p></td>
|
1908
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1909
|
+
<td class="parameter_annotations"> </td>
|
1910
|
+
</tr></tbody>
|
1911
|
+
</table></div>
|
1912
|
+
</div>
|
1913
|
+
<div class="refsect3">
|
1914
|
+
<a name="id-1.2.4.16.38.6"></a><h4>Returns</h4>
|
1915
|
+
<p> a new string that must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
1916
|
+
<p></p>
|
1917
|
+
</div>
|
1918
|
+
</div>
|
1919
|
+
<hr>
|
1920
|
+
<div class="refsect2">
|
1921
|
+
<a name="pango-font-description-to-filename"></a><h3>pango_font_description_to_filename ()</h3>
|
1922
|
+
<pre class="programlisting"><span class="returnvalue">char</span> *
|
1923
|
+
pango_font_description_to_filename (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1924
|
+
<p>Creates a filename representation of a font description. The
|
1925
|
+
filename is identical to the result from calling
|
1926
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-to-string" title="pango_font_description_to_string ()"><code class="function">pango_font_description_to_string()</code></a>, but with underscores instead of
|
1927
|
+
characters that are untypical in filenames, and in lower case only.</p>
|
1928
|
+
<div class="refsect3">
|
1929
|
+
<a name="id-1.2.4.16.39.5"></a><h4>Parameters</h4>
|
1930
|
+
<div class="informaltable"><table width="100%" border="0">
|
1931
|
+
<colgroup>
|
1932
|
+
<col width="150px" class="parameters_name">
|
1933
|
+
<col class="parameters_description">
|
1934
|
+
<col width="200px" class="parameters_annotations">
|
1935
|
+
</colgroup>
|
1936
|
+
<tbody><tr>
|
1937
|
+
<td class="parameter_name"><p>desc</p></td>
|
1938
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a></p></td>
|
1939
|
+
<td class="parameter_annotations"> </td>
|
1940
|
+
</tr></tbody>
|
1941
|
+
</table></div>
|
1942
|
+
</div>
|
1943
|
+
<div class="refsect3">
|
1944
|
+
<a name="id-1.2.4.16.39.6"></a><h4>Returns</h4>
|
1945
|
+
<p> a new string that must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
1946
|
+
<p></p>
|
1947
|
+
</div>
|
1948
|
+
</div>
|
1949
|
+
<hr>
|
1950
|
+
<div class="refsect2">
|
1951
|
+
<a name="PANGO-TYPE-FONT-METRICS:CAPS"></a><h3>PANGO_TYPE_FONT_METRICS</h3>
|
1952
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_METRICS (pango_font_metrics_get_type ())
|
1953
|
+
</pre>
|
1954
|
+
<p>The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a>.</p>
|
1955
|
+
</div>
|
1956
|
+
<hr>
|
1957
|
+
<div class="refsect2">
|
1958
|
+
<a name="pango-font-metrics-ref"></a><h3>pango_font_metrics_ref ()</h3>
|
1959
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
1960
|
+
pango_font_metrics_ref (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1961
|
+
<p>Increase the reference count of a font metrics structure by one.</p>
|
1962
|
+
<div class="refsect3">
|
1963
|
+
<a name="id-1.2.4.16.41.5"></a><h4>Parameters</h4>
|
1964
|
+
<div class="informaltable"><table width="100%" border="0">
|
1965
|
+
<colgroup>
|
1966
|
+
<col width="150px" class="parameters_name">
|
1967
|
+
<col class="parameters_description">
|
1968
|
+
<col width="200px" class="parameters_annotations">
|
1969
|
+
</colgroup>
|
1970
|
+
<tbody><tr>
|
1971
|
+
<td class="parameter_name"><p>metrics</p></td>
|
1972
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1973
|
+
<td class="parameter_annotations"> </td>
|
1974
|
+
</tr></tbody>
|
1975
|
+
</table></div>
|
1976
|
+
</div>
|
1977
|
+
<div class="refsect3">
|
1978
|
+
<a name="id-1.2.4.16.41.6"></a><h4>Returns</h4>
|
1979
|
+
<p> <em class="parameter"><code>metrics</code></em>
|
1980
|
+
</p>
|
1981
|
+
<p></p>
|
1982
|
+
</div>
|
1983
|
+
</div>
|
1984
|
+
<hr>
|
1985
|
+
<div class="refsect2">
|
1986
|
+
<a name="pango-font-metrics-unref"></a><h3>pango_font_metrics_unref ()</h3>
|
1987
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1988
|
+
pango_font_metrics_unref (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1989
|
+
<p>Decrease the reference count of a font metrics structure by one. If
|
1990
|
+
the result is zero, frees the structure and any associated
|
1991
|
+
memory.</p>
|
1992
|
+
<div class="refsect3">
|
1993
|
+
<a name="id-1.2.4.16.42.5"></a><h4>Parameters</h4>
|
1994
|
+
<div class="informaltable"><table width="100%" border="0">
|
1995
|
+
<colgroup>
|
1996
|
+
<col width="150px" class="parameters_name">
|
1997
|
+
<col class="parameters_description">
|
1998
|
+
<col width="200px" class="parameters_annotations">
|
1999
|
+
</colgroup>
|
2000
|
+
<tbody><tr>
|
2001
|
+
<td class="parameter_name"><p>metrics</p></td>
|
2002
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2003
|
+
<td class="parameter_annotations"> </td>
|
2004
|
+
</tr></tbody>
|
2005
|
+
</table></div>
|
2006
|
+
</div>
|
2007
|
+
</div>
|
2008
|
+
<hr>
|
2009
|
+
<div class="refsect2">
|
2010
|
+
<a name="pango-font-metrics-get-ascent"></a><h3>pango_font_metrics_get_ascent ()</h3>
|
2011
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
2012
|
+
pango_font_metrics_get_ascent (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
2013
|
+
<p>Gets the ascent from a font metrics structure. The ascent is
|
2014
|
+
the distance from the baseline to the logical top of a line
|
2015
|
+
of text. (The logical top may be above or below the top of the
|
2016
|
+
actual drawn ink. It is necessary to lay out the text to figure
|
2017
|
+
where the ink will be.)</p>
|
2018
|
+
<div class="refsect3">
|
2019
|
+
<a name="id-1.2.4.16.43.5"></a><h4>Parameters</h4>
|
2020
|
+
<div class="informaltable"><table width="100%" border="0">
|
2021
|
+
<colgroup>
|
2022
|
+
<col width="150px" class="parameters_name">
|
2023
|
+
<col class="parameters_description">
|
2024
|
+
<col width="200px" class="parameters_annotations">
|
2025
|
+
</colgroup>
|
2026
|
+
<tbody><tr>
|
2027
|
+
<td class="parameter_name"><p>metrics</p></td>
|
2028
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</p></td>
|
2029
|
+
<td class="parameter_annotations"> </td>
|
2030
|
+
</tr></tbody>
|
2031
|
+
</table></div>
|
2032
|
+
</div>
|
2033
|
+
<div class="refsect3">
|
2034
|
+
<a name="id-1.2.4.16.43.6"></a><h4>Returns</h4>
|
2035
|
+
<p> the ascent, in Pango units.</p>
|
2036
|
+
<p></p>
|
2037
|
+
</div>
|
2038
|
+
</div>
|
2039
|
+
<hr>
|
2040
|
+
<div class="refsect2">
|
2041
|
+
<a name="pango-font-metrics-get-descent"></a><h3>pango_font_metrics_get_descent ()</h3>
|
2042
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
2043
|
+
pango_font_metrics_get_descent (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
2044
|
+
<p>Gets the descent from a font metrics structure. The descent is
|
2045
|
+
the distance from the baseline to the logical bottom of a line
|
2046
|
+
of text. (The logical bottom may be above or below the bottom of the
|
2047
|
+
actual drawn ink. It is necessary to lay out the text to figure
|
2048
|
+
where the ink will be.)</p>
|
2049
|
+
<div class="refsect3">
|
2050
|
+
<a name="id-1.2.4.16.44.5"></a><h4>Parameters</h4>
|
2051
|
+
<div class="informaltable"><table width="100%" border="0">
|
2052
|
+
<colgroup>
|
2053
|
+
<col width="150px" class="parameters_name">
|
2054
|
+
<col class="parameters_description">
|
2055
|
+
<col width="200px" class="parameters_annotations">
|
2056
|
+
</colgroup>
|
2057
|
+
<tbody><tr>
|
2058
|
+
<td class="parameter_name"><p>metrics</p></td>
|
2059
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</p></td>
|
2060
|
+
<td class="parameter_annotations"> </td>
|
2061
|
+
</tr></tbody>
|
2062
|
+
</table></div>
|
2063
|
+
</div>
|
2064
|
+
<div class="refsect3">
|
2065
|
+
<a name="id-1.2.4.16.44.6"></a><h4>Returns</h4>
|
2066
|
+
<p> the descent, in Pango units.</p>
|
2067
|
+
<p></p>
|
2068
|
+
</div>
|
2069
|
+
</div>
|
2070
|
+
<hr>
|
2071
|
+
<div class="refsect2">
|
2072
|
+
<a name="pango-font-metrics-get-approximate-char-width"></a><h3>pango_font_metrics_get_approximate_char_width ()</h3>
|
2073
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
2074
|
+
pango_font_metrics_get_approximate_char_width
|
2075
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
2076
|
+
<p>Gets the approximate character width for a font metrics structure.
|
2077
|
+
This is merely a representative value useful, for example, for
|
2078
|
+
determining the initial size for a window. Actual characters in
|
2079
|
+
text will be wider and narrower than this.</p>
|
2080
|
+
<div class="refsect3">
|
2081
|
+
<a name="id-1.2.4.16.45.5"></a><h4>Parameters</h4>
|
2082
|
+
<div class="informaltable"><table width="100%" border="0">
|
2083
|
+
<colgroup>
|
2084
|
+
<col width="150px" class="parameters_name">
|
2085
|
+
<col class="parameters_description">
|
2086
|
+
<col width="200px" class="parameters_annotations">
|
2087
|
+
</colgroup>
|
2088
|
+
<tbody><tr>
|
2089
|
+
<td class="parameter_name"><p>metrics</p></td>
|
2090
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</p></td>
|
2091
|
+
<td class="parameter_annotations"> </td>
|
2092
|
+
</tr></tbody>
|
2093
|
+
</table></div>
|
2094
|
+
</div>
|
2095
|
+
<div class="refsect3">
|
2096
|
+
<a name="id-1.2.4.16.45.6"></a><h4>Returns</h4>
|
2097
|
+
<p> the character width, in Pango units.</p>
|
2098
|
+
<p></p>
|
2099
|
+
</div>
|
2100
|
+
</div>
|
2101
|
+
<hr>
|
2102
|
+
<div class="refsect2">
|
2103
|
+
<a name="pango-font-metrics-get-approximate-digit-width"></a><h3>pango_font_metrics_get_approximate_digit_width ()</h3>
|
2104
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
2105
|
+
pango_font_metrics_get_approximate_digit_width
|
2106
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
2107
|
+
<p>Gets the approximate digit width for a font metrics structure.
|
2108
|
+
This is merely a representative value useful, for example, for
|
2109
|
+
determining the initial size for a window. Actual digits in
|
2110
|
+
text can be wider or narrower than this, though this value
|
2111
|
+
is generally somewhat more accurate than the result of
|
2112
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()"><code class="function">pango_font_metrics_get_approximate_char_width()</code></a> for digits.</p>
|
2113
|
+
<div class="refsect3">
|
2114
|
+
<a name="id-1.2.4.16.46.5"></a><h4>Parameters</h4>
|
2115
|
+
<div class="informaltable"><table width="100%" border="0">
|
2116
|
+
<colgroup>
|
2117
|
+
<col width="150px" class="parameters_name">
|
2118
|
+
<col class="parameters_description">
|
2119
|
+
<col width="200px" class="parameters_annotations">
|
2120
|
+
</colgroup>
|
2121
|
+
<tbody><tr>
|
2122
|
+
<td class="parameter_name"><p>metrics</p></td>
|
2123
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</p></td>
|
2124
|
+
<td class="parameter_annotations"> </td>
|
2125
|
+
</tr></tbody>
|
2126
|
+
</table></div>
|
2127
|
+
</div>
|
2128
|
+
<div class="refsect3">
|
2129
|
+
<a name="id-1.2.4.16.46.6"></a><h4>Returns</h4>
|
2130
|
+
<p> the digit width, in Pango units.</p>
|
2131
|
+
<p></p>
|
2132
|
+
</div>
|
2133
|
+
</div>
|
2134
|
+
<hr>
|
2135
|
+
<div class="refsect2">
|
2136
|
+
<a name="pango-font-metrics-get-underline-thickness"></a><h3>pango_font_metrics_get_underline_thickness ()</h3>
|
2137
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
2138
|
+
pango_font_metrics_get_underline_thickness
|
2139
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
2140
|
+
<p>Gets the suggested thickness to draw for the underline.</p>
|
2141
|
+
<div class="refsect3">
|
2142
|
+
<a name="id-1.2.4.16.47.5"></a><h4>Parameters</h4>
|
2143
|
+
<div class="informaltable"><table width="100%" border="0">
|
2144
|
+
<colgroup>
|
2145
|
+
<col width="150px" class="parameters_name">
|
2146
|
+
<col class="parameters_description">
|
2147
|
+
<col width="200px" class="parameters_annotations">
|
2148
|
+
</colgroup>
|
2149
|
+
<tbody><tr>
|
2150
|
+
<td class="parameter_name"><p>metrics</p></td>
|
2151
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</p></td>
|
2152
|
+
<td class="parameter_annotations"> </td>
|
2153
|
+
</tr></tbody>
|
2154
|
+
</table></div>
|
2155
|
+
</div>
|
2156
|
+
<div class="refsect3">
|
2157
|
+
<a name="id-1.2.4.16.47.6"></a><h4>Returns</h4>
|
2158
|
+
<p> the suggested underline thickness, in Pango units.</p>
|
2159
|
+
<p></p>
|
2160
|
+
</div>
|
2161
|
+
<p class="since">Since 1.6</p>
|
2162
|
+
</div>
|
2163
|
+
<hr>
|
2164
|
+
<div class="refsect2">
|
2165
|
+
<a name="pango-font-metrics-get-underline-position"></a><h3>pango_font_metrics_get_underline_position ()</h3>
|
2166
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
2167
|
+
pango_font_metrics_get_underline_position
|
2168
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
2169
|
+
<p>Gets the suggested position to draw the underline.
|
2170
|
+
The value returned is the distance <span class="emphasis"><em>above</em></span> the
|
2171
|
+
baseline of the top of the underline. Since most fonts have
|
2172
|
+
underline positions beneath the baseline, this value is typically
|
2173
|
+
negative.</p>
|
2174
|
+
<div class="refsect3">
|
2175
|
+
<a name="id-1.2.4.16.48.5"></a><h4>Parameters</h4>
|
2176
|
+
<div class="informaltable"><table width="100%" border="0">
|
2177
|
+
<colgroup>
|
2178
|
+
<col width="150px" class="parameters_name">
|
2179
|
+
<col class="parameters_description">
|
2180
|
+
<col width="200px" class="parameters_annotations">
|
2181
|
+
</colgroup>
|
2182
|
+
<tbody><tr>
|
2183
|
+
<td class="parameter_name"><p>metrics</p></td>
|
2184
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</p></td>
|
2185
|
+
<td class="parameter_annotations"> </td>
|
2186
|
+
</tr></tbody>
|
2187
|
+
</table></div>
|
2188
|
+
</div>
|
2189
|
+
<div class="refsect3">
|
2190
|
+
<a name="id-1.2.4.16.48.6"></a><h4>Returns</h4>
|
2191
|
+
<p> the suggested underline position, in Pango units.</p>
|
2192
|
+
<p></p>
|
2193
|
+
</div>
|
2194
|
+
<p class="since">Since 1.6</p>
|
2195
|
+
</div>
|
2196
|
+
<hr>
|
2197
|
+
<div class="refsect2">
|
2198
|
+
<a name="pango-font-metrics-get-strikethrough-thickness"></a><h3>pango_font_metrics_get_strikethrough_thickness ()</h3>
|
2199
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
2200
|
+
pango_font_metrics_get_strikethrough_thickness
|
2201
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
2202
|
+
<p>Gets the suggested thickness to draw for the strikethrough.</p>
|
2203
|
+
<div class="refsect3">
|
2204
|
+
<a name="id-1.2.4.16.49.5"></a><h4>Parameters</h4>
|
2205
|
+
<div class="informaltable"><table width="100%" border="0">
|
2206
|
+
<colgroup>
|
2207
|
+
<col width="150px" class="parameters_name">
|
2208
|
+
<col class="parameters_description">
|
2209
|
+
<col width="200px" class="parameters_annotations">
|
2210
|
+
</colgroup>
|
2211
|
+
<tbody><tr>
|
2212
|
+
<td class="parameter_name"><p>metrics</p></td>
|
2213
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</p></td>
|
2214
|
+
<td class="parameter_annotations"> </td>
|
2215
|
+
</tr></tbody>
|
2216
|
+
</table></div>
|
2217
|
+
</div>
|
2218
|
+
<div class="refsect3">
|
2219
|
+
<a name="id-1.2.4.16.49.6"></a><h4>Returns</h4>
|
2220
|
+
<p> the suggested strikethrough thickness, in Pango units.</p>
|
2221
|
+
<p></p>
|
2222
|
+
</div>
|
2223
|
+
<p class="since">Since 1.6</p>
|
2224
|
+
</div>
|
2225
|
+
<hr>
|
2226
|
+
<div class="refsect2">
|
2227
|
+
<a name="pango-font-metrics-get-strikethrough-position"></a><h3>pango_font_metrics_get_strikethrough_position ()</h3>
|
2228
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
2229
|
+
pango_font_metrics_get_strikethrough_position
|
2230
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
2231
|
+
<p>Gets the suggested position to draw the strikethrough.
|
2232
|
+
The value returned is the distance <span class="emphasis"><em>above</em></span> the
|
2233
|
+
baseline of the top of the strikethrough.</p>
|
2234
|
+
<div class="refsect3">
|
2235
|
+
<a name="id-1.2.4.16.50.5"></a><h4>Parameters</h4>
|
2236
|
+
<div class="informaltable"><table width="100%" border="0">
|
2237
|
+
<colgroup>
|
2238
|
+
<col width="150px" class="parameters_name">
|
2239
|
+
<col class="parameters_description">
|
2240
|
+
<col width="200px" class="parameters_annotations">
|
2241
|
+
</colgroup>
|
2242
|
+
<tbody><tr>
|
2243
|
+
<td class="parameter_name"><p>metrics</p></td>
|
2244
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</p></td>
|
2245
|
+
<td class="parameter_annotations"> </td>
|
2246
|
+
</tr></tbody>
|
2247
|
+
</table></div>
|
2248
|
+
</div>
|
2249
|
+
<div class="refsect3">
|
2250
|
+
<a name="id-1.2.4.16.50.6"></a><h4>Returns</h4>
|
2251
|
+
<p> the suggested strikethrough position, in Pango units.</p>
|
2252
|
+
<p></p>
|
2253
|
+
</div>
|
2254
|
+
<p class="since">Since 1.6</p>
|
2255
|
+
</div>
|
2256
|
+
<hr>
|
2257
|
+
<div class="refsect2">
|
2258
|
+
<a name="PANGO-TYPE-FONT:CAPS"></a><h3>PANGO_TYPE_FONT</h3>
|
2259
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT (pango_font_get_type ())
|
2260
|
+
</pre>
|
2261
|
+
<p>The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p>
|
2262
|
+
</div>
|
2263
|
+
<hr>
|
2264
|
+
<div class="refsect2">
|
2265
|
+
<a name="PANGO-FONT:CAPS"></a><h3>PANGO_FONT()</h3>
|
2266
|
+
<pre class="programlisting">#define PANGO_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT, PangoFont))
|
2267
|
+
</pre>
|
2268
|
+
<p>Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p>
|
2269
|
+
<div class="refsect3">
|
2270
|
+
<a name="id-1.2.4.16.52.5"></a><h4>Parameters</h4>
|
2271
|
+
<div class="informaltable"><table width="100%" border="0">
|
2272
|
+
<colgroup>
|
2273
|
+
<col width="150px" class="parameters_name">
|
2274
|
+
<col class="parameters_description">
|
2275
|
+
<col width="200px" class="parameters_annotations">
|
2276
|
+
</colgroup>
|
2277
|
+
<tbody><tr>
|
2278
|
+
<td class="parameter_name"><p>object</p></td>
|
2279
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</p></td>
|
2280
|
+
<td class="parameter_annotations"> </td>
|
2281
|
+
</tr></tbody>
|
2282
|
+
</table></div>
|
2283
|
+
</div>
|
2284
|
+
</div>
|
2285
|
+
<hr>
|
2286
|
+
<div class="refsect2">
|
2287
|
+
<a name="PANGO-IS-FONT:CAPS"></a><h3>PANGO_IS_FONT()</h3>
|
2288
|
+
<pre class="programlisting">#define PANGO_IS_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT))
|
2289
|
+
</pre>
|
2290
|
+
<div class="refsect3">
|
2291
|
+
<a name="id-1.2.4.16.53.4"></a><h4>Parameters</h4>
|
2292
|
+
<div class="informaltable"><table width="100%" border="0">
|
2293
|
+
<colgroup>
|
2294
|
+
<col width="150px" class="parameters_name">
|
2295
|
+
<col class="parameters_description">
|
2296
|
+
<col width="200px" class="parameters_annotations">
|
2297
|
+
</colgroup>
|
2298
|
+
<tbody><tr>
|
2299
|
+
<td class="parameter_name"><p>object</p></td>
|
2300
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</p></td>
|
2301
|
+
<td class="parameter_annotations"> </td>
|
2302
|
+
</tr></tbody>
|
2303
|
+
</table></div>
|
2304
|
+
</div>
|
2305
|
+
<div class="refsect3">
|
2306
|
+
<a name="id-1.2.4.16.53.5"></a><h4>Returns</h4>
|
2307
|
+
<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>object</code></em>
|
2308
|
+
is a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p>
|
2309
|
+
<p></p>
|
2310
|
+
</div>
|
2311
|
+
</div>
|
2312
|
+
<hr>
|
2313
|
+
<div class="refsect2">
|
2314
|
+
<a name="pango-font-find-shaper"></a><h3>pango_font_find_shaper ()</h3>
|
2315
|
+
<pre class="programlisting"><a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> *
|
2316
|
+
pango_font_find_shaper (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
2317
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
2318
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> ch</code></em>);</pre>
|
2319
|
+
<p>Finds the best matching shaper for a font for a particular
|
2320
|
+
language tag and character point.</p>
|
2321
|
+
<div class="refsect3">
|
2322
|
+
<a name="id-1.2.4.16.54.5"></a><h4>Parameters</h4>
|
2323
|
+
<div class="informaltable"><table width="100%" border="0">
|
2324
|
+
<colgroup>
|
2325
|
+
<col width="150px" class="parameters_name">
|
2326
|
+
<col class="parameters_description">
|
2327
|
+
<col width="200px" class="parameters_annotations">
|
2328
|
+
</colgroup>
|
2329
|
+
<tbody>
|
2330
|
+
<tr>
|
2331
|
+
<td class="parameter_name"><p>font</p></td>
|
2332
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a></p></td>
|
2333
|
+
<td class="parameter_annotations"> </td>
|
2334
|
+
</tr>
|
2335
|
+
<tr>
|
2336
|
+
<td class="parameter_name"><p>language</p></td>
|
2337
|
+
<td class="parameter_description"><p>the language tag</p></td>
|
2338
|
+
<td class="parameter_annotations"> </td>
|
2339
|
+
</tr>
|
2340
|
+
<tr>
|
2341
|
+
<td class="parameter_name"><p>ch</p></td>
|
2342
|
+
<td class="parameter_description"><p>a Unicode character.</p></td>
|
2343
|
+
<td class="parameter_annotations"> </td>
|
2344
|
+
</tr>
|
2345
|
+
</tbody>
|
2346
|
+
</table></div>
|
2347
|
+
</div>
|
2348
|
+
<div class="refsect3">
|
2349
|
+
<a name="id-1.2.4.16.54.6"></a><h4>Returns</h4>
|
2350
|
+
<p> the best matching shaper.</p>
|
2351
|
+
<p></p>
|
2352
|
+
</div>
|
2353
|
+
</div>
|
2354
|
+
<hr>
|
2355
|
+
<div class="refsect2">
|
2356
|
+
<a name="pango-font-describe"></a><h3>pango_font_describe ()</h3>
|
2357
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
2358
|
+
pango_font_describe (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
2359
|
+
<p>Returns a description of the font, with font size set in points.
|
2360
|
+
Use <a class="link" href="pango-Fonts.html#pango-font-describe-with-absolute-size" title="pango_font_describe_with_absolute_size ()"><code class="function">pango_font_describe_with_absolute_size()</code></a> if you want the font
|
2361
|
+
size in device units.</p>
|
2362
|
+
<div class="refsect3">
|
2363
|
+
<a name="id-1.2.4.16.55.5"></a><h4>Parameters</h4>
|
2364
|
+
<div class="informaltable"><table width="100%" border="0">
|
2365
|
+
<colgroup>
|
2366
|
+
<col width="150px" class="parameters_name">
|
2367
|
+
<col class="parameters_description">
|
2368
|
+
<col width="200px" class="parameters_annotations">
|
2369
|
+
</colgroup>
|
2370
|
+
<tbody><tr>
|
2371
|
+
<td class="parameter_name"><p>font</p></td>
|
2372
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a></p></td>
|
2373
|
+
<td class="parameter_annotations"> </td>
|
2374
|
+
</tr></tbody>
|
2375
|
+
</table></div>
|
2376
|
+
</div>
|
2377
|
+
<div class="refsect3">
|
2378
|
+
<a name="id-1.2.4.16.55.6"></a><h4>Returns</h4>
|
2379
|
+
<p> a newly-allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> object.</p>
|
2380
|
+
<p></p>
|
2381
|
+
</div>
|
2382
|
+
</div>
|
2383
|
+
<hr>
|
2384
|
+
<div class="refsect2">
|
2385
|
+
<a name="pango-font-describe-with-absolute-size"></a><h3>pango_font_describe_with_absolute_size ()</h3>
|
2386
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
2387
|
+
pango_font_describe_with_absolute_size
|
2388
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
2389
|
+
<p>Returns a description of the font, with absolute font size set
|
2390
|
+
(in device units). Use <a class="link" href="pango-Fonts.html#pango-font-describe" title="pango_font_describe ()"><code class="function">pango_font_describe()</code></a> if you want the font
|
2391
|
+
size in points.</p>
|
2392
|
+
<div class="refsect3">
|
2393
|
+
<a name="id-1.2.4.16.56.5"></a><h4>Parameters</h4>
|
2394
|
+
<div class="informaltable"><table width="100%" border="0">
|
2395
|
+
<colgroup>
|
2396
|
+
<col width="150px" class="parameters_name">
|
2397
|
+
<col class="parameters_description">
|
2398
|
+
<col width="200px" class="parameters_annotations">
|
2399
|
+
</colgroup>
|
2400
|
+
<tbody><tr>
|
2401
|
+
<td class="parameter_name"><p>font</p></td>
|
2402
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a></p></td>
|
2403
|
+
<td class="parameter_annotations"> </td>
|
2404
|
+
</tr></tbody>
|
2405
|
+
</table></div>
|
2406
|
+
</div>
|
2407
|
+
<div class="refsect3">
|
2408
|
+
<a name="id-1.2.4.16.56.6"></a><h4>Returns</h4>
|
2409
|
+
<p> a newly-allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> object.</p>
|
2410
|
+
<p></p>
|
2411
|
+
</div>
|
2412
|
+
<p class="since">Since 1.14</p>
|
2413
|
+
</div>
|
2414
|
+
<hr>
|
2415
|
+
<div class="refsect2">
|
2416
|
+
<a name="pango-font-get-coverage"></a><h3>pango_font_get_coverage ()</h3>
|
2417
|
+
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> *
|
2418
|
+
pango_font_get_coverage (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
2419
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
2420
|
+
<p>Computes the coverage map for a given font and language tag.</p>
|
2421
|
+
<div class="refsect3">
|
2422
|
+
<a name="id-1.2.4.16.57.5"></a><h4>Parameters</h4>
|
2423
|
+
<div class="informaltable"><table width="100%" border="0">
|
2424
|
+
<colgroup>
|
2425
|
+
<col width="150px" class="parameters_name">
|
2426
|
+
<col class="parameters_description">
|
2427
|
+
<col width="200px" class="parameters_annotations">
|
2428
|
+
</colgroup>
|
2429
|
+
<tbody>
|
2430
|
+
<tr>
|
2431
|
+
<td class="parameter_name"><p>font</p></td>
|
2432
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a></p></td>
|
2433
|
+
<td class="parameter_annotations"> </td>
|
2434
|
+
</tr>
|
2435
|
+
<tr>
|
2436
|
+
<td class="parameter_name"><p>language</p></td>
|
2437
|
+
<td class="parameter_description"><p>the language tag</p></td>
|
2438
|
+
<td class="parameter_annotations"> </td>
|
2439
|
+
</tr>
|
2440
|
+
</tbody>
|
2441
|
+
</table></div>
|
2442
|
+
</div>
|
2443
|
+
<div class="refsect3">
|
2444
|
+
<a name="id-1.2.4.16.57.6"></a><h4>Returns</h4>
|
2445
|
+
<p> a newly-allocated <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a>
|
2446
|
+
object. </p>
|
2447
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2448
|
+
</div>
|
2449
|
+
</div>
|
2450
|
+
<hr>
|
2451
|
+
<div class="refsect2">
|
2452
|
+
<a name="pango-font-get-glyph-extents"></a><h3>pango_font_get_glyph_extents ()</h3>
|
2453
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2454
|
+
pango_font_get_glyph_extents (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
2455
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>,
|
2456
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
2457
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
|
2458
|
+
<p>Gets the logical and ink extents of a glyph within a font. The
|
2459
|
+
coordinate system for each rectangle has its origin at the
|
2460
|
+
base line and horizontal origin of the character with increasing
|
2461
|
+
coordinates extending to the right and down. The macros <a class="link" href="pango-Glyph-Storage.html#PANGO-ASCENT:CAPS" title="PANGO_ASCENT()"><code class="function">PANGO_ASCENT()</code></a>,
|
2462
|
+
<a class="link" href="pango-Glyph-Storage.html#PANGO-DESCENT:CAPS" title="PANGO_DESCENT()"><code class="function">PANGO_DESCENT()</code></a>, <a class="link" href="pango-Glyph-Storage.html#PANGO-LBEARING:CAPS" title="PANGO_LBEARING()"><code class="function">PANGO_LBEARING()</code></a>, and <a class="link" href="pango-Glyph-Storage.html#PANGO-RBEARING:CAPS" title="PANGO_RBEARING()"><code class="function">PANGO_RBEARING()</code></a> can be used to convert
|
2463
|
+
from the extents rectangle to more traditional font metrics. The units
|
2464
|
+
of the rectangles are in 1/PANGO_SCALE of a device unit.</p>
|
2465
|
+
<p>If <em class="parameter"><code>font</code></em>
|
2466
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
2467
|
+
output variables and returns.</p>
|
2468
|
+
<div class="refsect3">
|
2469
|
+
<a name="id-1.2.4.16.58.6"></a><h4>Parameters</h4>
|
2470
|
+
<div class="informaltable"><table width="100%" border="0">
|
2471
|
+
<colgroup>
|
2472
|
+
<col width="150px" class="parameters_name">
|
2473
|
+
<col class="parameters_description">
|
2474
|
+
<col width="200px" class="parameters_annotations">
|
2475
|
+
</colgroup>
|
2476
|
+
<tbody>
|
2477
|
+
<tr>
|
2478
|
+
<td class="parameter_name"><p>font</p></td>
|
2479
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a></p></td>
|
2480
|
+
<td class="parameter_annotations"> </td>
|
2481
|
+
</tr>
|
2482
|
+
<tr>
|
2483
|
+
<td class="parameter_name"><p>glyph</p></td>
|
2484
|
+
<td class="parameter_description"><p>the glyph index</p></td>
|
2485
|
+
<td class="parameter_annotations"> </td>
|
2486
|
+
</tr>
|
2487
|
+
<tr>
|
2488
|
+
<td class="parameter_name"><p>ink_rect</p></td>
|
2489
|
+
<td class="parameter_description"><p> rectangle used to store the extents of the glyph
|
2490
|
+
as drawn or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed. </p></td>
|
2491
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2492
|
+
</tr>
|
2493
|
+
<tr>
|
2494
|
+
<td class="parameter_name"><p>logical_rect</p></td>
|
2495
|
+
<td class="parameter_description"><p> rectangle used to store the logical extents of
|
2496
|
+
the glyph or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed. </p></td>
|
2497
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2498
|
+
</tr>
|
2499
|
+
</tbody>
|
2500
|
+
</table></div>
|
2501
|
+
</div>
|
2502
|
+
</div>
|
2503
|
+
<hr>
|
2504
|
+
<div class="refsect2">
|
2505
|
+
<a name="pango-font-get-metrics"></a><h3>pango_font_get_metrics ()</h3>
|
2506
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
2507
|
+
pango_font_get_metrics (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
2508
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
2509
|
+
<p>Gets overall metric information for a font. Since the metrics may be
|
2510
|
+
substantially different for different scripts, a language tag can
|
2511
|
+
be provided to indicate that the metrics should be retrieved that
|
2512
|
+
correspond to the script(s) used by that language.</p>
|
2513
|
+
<p>If <em class="parameter"><code>font</code></em>
|
2514
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
2515
|
+
output variables and returns.</p>
|
2516
|
+
<div class="refsect3">
|
2517
|
+
<a name="id-1.2.4.16.59.6"></a><h4>Parameters</h4>
|
2518
|
+
<div class="informaltable"><table width="100%" border="0">
|
2519
|
+
<colgroup>
|
2520
|
+
<col width="150px" class="parameters_name">
|
2521
|
+
<col class="parameters_description">
|
2522
|
+
<col width="200px" class="parameters_annotations">
|
2523
|
+
</colgroup>
|
2524
|
+
<tbody>
|
2525
|
+
<tr>
|
2526
|
+
<td class="parameter_name"><p>font</p></td>
|
2527
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a></p></td>
|
2528
|
+
<td class="parameter_annotations"> </td>
|
2529
|
+
</tr>
|
2530
|
+
<tr>
|
2531
|
+
<td class="parameter_name"><p>language</p></td>
|
2532
|
+
<td class="parameter_description"><p> language tag used to determine which script to get the metrics
|
2533
|
+
for, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate to get the metrics for the entire font. </p></td>
|
2534
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2535
|
+
</tr>
|
2536
|
+
</tbody>
|
2537
|
+
</table></div>
|
2538
|
+
</div>
|
2539
|
+
<div class="refsect3">
|
2540
|
+
<a name="id-1.2.4.16.59.7"></a><h4>Returns</h4>
|
2541
|
+
<p> a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
2542
|
+
when finished using the object.</p>
|
2543
|
+
<p></p>
|
2544
|
+
</div>
|
2545
|
+
</div>
|
2546
|
+
<hr>
|
2547
|
+
<div class="refsect2">
|
2548
|
+
<a name="pango-font-get-font-map"></a><h3>pango_font_get_font_map ()</h3>
|
2549
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
2550
|
+
pango_font_get_font_map (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
2551
|
+
<p>Gets the font map for which the font was created.</p>
|
2552
|
+
<p>Note that the font maintains a <em class="firstterm">weak</em> reference
|
2553
|
+
to the font map, so if all references to font map are dropped, the font
|
2554
|
+
map will be finalized even if there are fonts created with the font
|
2555
|
+
map that are still alive. In that case this function will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
2556
|
+
It is the responsibility of the user to ensure that the font map is kept
|
2557
|
+
alive. In most uses this is not an issue as a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> holds
|
2558
|
+
a reference to the font map.</p>
|
2559
|
+
<div class="refsect3">
|
2560
|
+
<a name="id-1.2.4.16.60.6"></a><h4>Parameters</h4>
|
2561
|
+
<div class="informaltable"><table width="100%" border="0">
|
2562
|
+
<colgroup>
|
2563
|
+
<col width="150px" class="parameters_name">
|
2564
|
+
<col class="parameters_description">
|
2565
|
+
<col width="200px" class="parameters_annotations">
|
2566
|
+
</colgroup>
|
2567
|
+
<tbody><tr>
|
2568
|
+
<td class="parameter_name"><p>font</p></td>
|
2569
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2570
|
+
<td class="parameter_annotations"> </td>
|
2571
|
+
</tr></tbody>
|
2572
|
+
</table></div>
|
2573
|
+
</div>
|
2574
|
+
<div class="refsect3">
|
2575
|
+
<a name="id-1.2.4.16.60.7"></a><h4>Returns</h4>
|
2576
|
+
<p> the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> for the font, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2577
|
+
if <em class="parameter"><code>font</code></em>
|
2578
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
2579
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2580
|
+
</div>
|
2581
|
+
<p class="since">Since 1.10</p>
|
2582
|
+
</div>
|
2583
|
+
<hr>
|
2584
|
+
<div class="refsect2">
|
2585
|
+
<a name="PANGO-TYPE-FONT-FAMILY:CAPS"></a><h3>PANGO_TYPE_FONT_FAMILY</h3>
|
2586
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_FAMILY (pango_font_family_get_type ())
|
2587
|
+
</pre>
|
2588
|
+
<p>The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.</p>
|
2589
|
+
</div>
|
2590
|
+
<hr>
|
2591
|
+
<div class="refsect2">
|
2592
|
+
<a name="PANGO-FONT-FAMILY:CAPS"></a><h3>PANGO_FONT_FAMILY()</h3>
|
2593
|
+
<pre class="programlisting">#define PANGO_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FAMILY, PangoFontFamily))
|
2594
|
+
</pre>
|
2595
|
+
<p>Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.</p>
|
2596
|
+
<div class="refsect3">
|
2597
|
+
<a name="id-1.2.4.16.62.5"></a><h4>Parameters</h4>
|
2598
|
+
<div class="informaltable"><table width="100%" border="0">
|
2599
|
+
<colgroup>
|
2600
|
+
<col width="150px" class="parameters_name">
|
2601
|
+
<col class="parameters_description">
|
2602
|
+
<col width="200px" class="parameters_annotations">
|
2603
|
+
</colgroup>
|
2604
|
+
<tbody><tr>
|
2605
|
+
<td class="parameter_name"><p>object</p></td>
|
2606
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</p></td>
|
2607
|
+
<td class="parameter_annotations"> </td>
|
2608
|
+
</tr></tbody>
|
2609
|
+
</table></div>
|
2610
|
+
</div>
|
2611
|
+
</div>
|
2612
|
+
<hr>
|
2613
|
+
<div class="refsect2">
|
2614
|
+
<a name="PANGO-IS-FONT-FAMILY:CAPS"></a><h3>PANGO_IS_FONT_FAMILY()</h3>
|
2615
|
+
<pre class="programlisting">#define PANGO_IS_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FAMILY))
|
2616
|
+
</pre>
|
2617
|
+
<div class="refsect3">
|
2618
|
+
<a name="id-1.2.4.16.63.4"></a><h4>Parameters</h4>
|
2619
|
+
<div class="informaltable"><table width="100%" border="0">
|
2620
|
+
<colgroup>
|
2621
|
+
<col width="150px" class="parameters_name">
|
2622
|
+
<col class="parameters_description">
|
2623
|
+
<col width="200px" class="parameters_annotations">
|
2624
|
+
</colgroup>
|
2625
|
+
<tbody><tr>
|
2626
|
+
<td class="parameter_name"><p>object</p></td>
|
2627
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</p></td>
|
2628
|
+
<td class="parameter_annotations"> </td>
|
2629
|
+
</tr></tbody>
|
2630
|
+
</table></div>
|
2631
|
+
</div>
|
2632
|
+
<div class="refsect3">
|
2633
|
+
<a name="id-1.2.4.16.63.5"></a><h4>Returns</h4>
|
2634
|
+
<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>object</code></em>
|
2635
|
+
is a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.</p>
|
2636
|
+
<p></p>
|
2637
|
+
</div>
|
2638
|
+
</div>
|
2639
|
+
<hr>
|
2640
|
+
<div class="refsect2">
|
2641
|
+
<a name="pango-font-family-get-name"></a><h3>pango_font_family_get_name ()</h3>
|
2642
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
2643
|
+
pango_font_family_get_name (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);</pre>
|
2644
|
+
<p>Gets the name of the family. The name is unique among all
|
2645
|
+
fonts for the font backend and can be used in a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
2646
|
+
to specify that a face from this family is desired.</p>
|
2647
|
+
<div class="refsect3">
|
2648
|
+
<a name="id-1.2.4.16.64.5"></a><h4>Parameters</h4>
|
2649
|
+
<div class="informaltable"><table width="100%" border="0">
|
2650
|
+
<colgroup>
|
2651
|
+
<col width="150px" class="parameters_name">
|
2652
|
+
<col class="parameters_description">
|
2653
|
+
<col width="200px" class="parameters_annotations">
|
2654
|
+
</colgroup>
|
2655
|
+
<tbody><tr>
|
2656
|
+
<td class="parameter_name"><p>family</p></td>
|
2657
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a></p></td>
|
2658
|
+
<td class="parameter_annotations"> </td>
|
2659
|
+
</tr></tbody>
|
2660
|
+
</table></div>
|
2661
|
+
</div>
|
2662
|
+
<div class="refsect3">
|
2663
|
+
<a name="id-1.2.4.16.64.6"></a><h4>Returns</h4>
|
2664
|
+
<p> the name of the family. This string is owned
|
2665
|
+
by the family object and must not be modified or freed.</p>
|
2666
|
+
<p></p>
|
2667
|
+
</div>
|
2668
|
+
</div>
|
2669
|
+
<hr>
|
2670
|
+
<div class="refsect2">
|
2671
|
+
<a name="pango-font-family-is-monospace"></a><h3>pango_font_family_is_monospace ()</h3>
|
2672
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2673
|
+
pango_font_family_is_monospace (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);</pre>
|
2674
|
+
<p>A monospace font is a font designed for text display where the the
|
2675
|
+
characters form a regular grid. For Western languages this would
|
2676
|
+
mean that the advance width of all characters are the same, but
|
2677
|
+
this categorization also includes Asian fonts which include
|
2678
|
+
double-width characters: characters that occupy two grid cells.
|
2679
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#g-unichar-iswide"><code class="function">g_unichar_iswide()</code></a> returns a result that indicates whether a
|
2680
|
+
character is typically double-width in a monospace font.</p>
|
2681
|
+
<p>The best way to find out the grid-cell size is to call
|
2682
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-digit-width" title="pango_font_metrics_get_approximate_digit_width ()"><code class="function">pango_font_metrics_get_approximate_digit_width()</code></a>, since the results
|
2683
|
+
of <a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()"><code class="function">pango_font_metrics_get_approximate_char_width()</code></a> may be affected
|
2684
|
+
by double-width characters.</p>
|
2685
|
+
<div class="refsect3">
|
2686
|
+
<a name="id-1.2.4.16.65.6"></a><h4>Parameters</h4>
|
2687
|
+
<div class="informaltable"><table width="100%" border="0">
|
2688
|
+
<colgroup>
|
2689
|
+
<col width="150px" class="parameters_name">
|
2690
|
+
<col class="parameters_description">
|
2691
|
+
<col width="200px" class="parameters_annotations">
|
2692
|
+
</colgroup>
|
2693
|
+
<tbody><tr>
|
2694
|
+
<td class="parameter_name"><p>family</p></td>
|
2695
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a></p></td>
|
2696
|
+
<td class="parameter_annotations"> </td>
|
2697
|
+
</tr></tbody>
|
2698
|
+
</table></div>
|
2699
|
+
</div>
|
2700
|
+
<div class="refsect3">
|
2701
|
+
<a name="id-1.2.4.16.65.7"></a><h4>Returns</h4>
|
2702
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the family is monospace.</p>
|
2703
|
+
<p></p>
|
2704
|
+
</div>
|
2705
|
+
<p class="since">Since 1.4</p>
|
2706
|
+
</div>
|
2707
|
+
<hr>
|
2708
|
+
<div class="refsect2">
|
2709
|
+
<a name="pango-font-family-list-faces"></a><h3>pango_font_family_list_faces ()</h3>
|
2710
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2711
|
+
pango_font_family_list_faces (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>,
|
2712
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> ***faces</code></em>,
|
2713
|
+
<em class="parameter"><code><span class="type">int</span> *n_faces</code></em>);</pre>
|
2714
|
+
<p>Lists the different font faces that make up <em class="parameter"><code>family</code></em>
|
2715
|
+
. The faces
|
2716
|
+
in a family share a common design, but differ in slant, weight,
|
2717
|
+
width and other aspects.</p>
|
2718
|
+
<div class="refsect3">
|
2719
|
+
<a name="id-1.2.4.16.66.5"></a><h4>Parameters</h4>
|
2720
|
+
<div class="informaltable"><table width="100%" border="0">
|
2721
|
+
<colgroup>
|
2722
|
+
<col width="150px" class="parameters_name">
|
2723
|
+
<col class="parameters_description">
|
2724
|
+
<col width="200px" class="parameters_annotations">
|
2725
|
+
</colgroup>
|
2726
|
+
<tbody>
|
2727
|
+
<tr>
|
2728
|
+
<td class="parameter_name"><p>family</p></td>
|
2729
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a></p></td>
|
2730
|
+
<td class="parameter_annotations"> </td>
|
2731
|
+
</tr>
|
2732
|
+
<tr>
|
2733
|
+
<td class="parameter_name"><p>faces</p></td>
|
2734
|
+
<td class="parameter_description"><p> location to store an array of pointers to <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> objects,
|
2735
|
+
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This array should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when it is no
|
2736
|
+
longer needed. </p></td>
|
2737
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_faces][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></td>
|
2738
|
+
</tr>
|
2739
|
+
<tr>
|
2740
|
+
<td class="parameter_name"><p>n_faces</p></td>
|
2741
|
+
<td class="parameter_description"><p> location to store number of elements in <em class="parameter"><code>faces</code></em>
|
2742
|
+
. </p></td>
|
2743
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
2744
|
+
</tr>
|
2745
|
+
</tbody>
|
2746
|
+
</table></div>
|
2747
|
+
</div>
|
2748
|
+
</div>
|
2749
|
+
<hr>
|
2750
|
+
<div class="refsect2">
|
2751
|
+
<a name="PANGO-TYPE-FONT-FACE:CAPS"></a><h3>PANGO_TYPE_FONT_FACE</h3>
|
2752
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_FACE (pango_font_face_get_type ())
|
2753
|
+
</pre>
|
2754
|
+
<p>The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.</p>
|
2755
|
+
</div>
|
2756
|
+
<hr>
|
2757
|
+
<div class="refsect2">
|
2758
|
+
<a name="PANGO-FONT-FACE:CAPS"></a><h3>PANGO_FONT_FACE()</h3>
|
2759
|
+
<pre class="programlisting">#define PANGO_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FACE, PangoFontFace))
|
2760
|
+
</pre>
|
2761
|
+
<p>Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.</p>
|
2762
|
+
<div class="refsect3">
|
2763
|
+
<a name="id-1.2.4.16.68.5"></a><h4>Parameters</h4>
|
2764
|
+
<div class="informaltable"><table width="100%" border="0">
|
2765
|
+
<colgroup>
|
2766
|
+
<col width="150px" class="parameters_name">
|
2767
|
+
<col class="parameters_description">
|
2768
|
+
<col width="200px" class="parameters_annotations">
|
2769
|
+
</colgroup>
|
2770
|
+
<tbody><tr>
|
2771
|
+
<td class="parameter_name"><p>object</p></td>
|
2772
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</p></td>
|
2773
|
+
<td class="parameter_annotations"> </td>
|
2774
|
+
</tr></tbody>
|
2775
|
+
</table></div>
|
2776
|
+
</div>
|
2777
|
+
</div>
|
2778
|
+
<hr>
|
2779
|
+
<div class="refsect2">
|
2780
|
+
<a name="PANGO-IS-FONT-FACE:CAPS"></a><h3>PANGO_IS_FONT_FACE()</h3>
|
2781
|
+
<pre class="programlisting">#define PANGO_IS_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FACE))
|
2782
|
+
</pre>
|
2783
|
+
<div class="refsect3">
|
2784
|
+
<a name="id-1.2.4.16.69.4"></a><h4>Parameters</h4>
|
2785
|
+
<div class="informaltable"><table width="100%" border="0">
|
2786
|
+
<colgroup>
|
2787
|
+
<col width="150px" class="parameters_name">
|
2788
|
+
<col class="parameters_description">
|
2789
|
+
<col width="200px" class="parameters_annotations">
|
2790
|
+
</colgroup>
|
2791
|
+
<tbody><tr>
|
2792
|
+
<td class="parameter_name"><p>object</p></td>
|
2793
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</p></td>
|
2794
|
+
<td class="parameter_annotations"> </td>
|
2795
|
+
</tr></tbody>
|
2796
|
+
</table></div>
|
2797
|
+
</div>
|
2798
|
+
<div class="refsect3">
|
2799
|
+
<a name="id-1.2.4.16.69.5"></a><h4>Returns</h4>
|
2800
|
+
<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>object</code></em>
|
2801
|
+
is a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.</p>
|
2802
|
+
<p></p>
|
2803
|
+
</div>
|
2804
|
+
</div>
|
2805
|
+
<hr>
|
2806
|
+
<div class="refsect2">
|
2807
|
+
<a name="pango-font-face-get-face-name"></a><h3>pango_font_face_get_face_name ()</h3>
|
2808
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
2809
|
+
pango_font_face_get_face_name (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);</pre>
|
2810
|
+
<p>Gets a name representing the style of this face among the
|
2811
|
+
different faces in the <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> for the face. This
|
2812
|
+
name is unique among all faces in the family and is suitable
|
2813
|
+
for displaying to users.</p>
|
2814
|
+
<div class="refsect3">
|
2815
|
+
<a name="id-1.2.4.16.70.5"></a><h4>Parameters</h4>
|
2816
|
+
<div class="informaltable"><table width="100%" border="0">
|
2817
|
+
<colgroup>
|
2818
|
+
<col width="150px" class="parameters_name">
|
2819
|
+
<col class="parameters_description">
|
2820
|
+
<col width="200px" class="parameters_annotations">
|
2821
|
+
</colgroup>
|
2822
|
+
<tbody><tr>
|
2823
|
+
<td class="parameter_name"><p>face</p></td>
|
2824
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.</p></td>
|
2825
|
+
<td class="parameter_annotations"> </td>
|
2826
|
+
</tr></tbody>
|
2827
|
+
</table></div>
|
2828
|
+
</div>
|
2829
|
+
<div class="refsect3">
|
2830
|
+
<a name="id-1.2.4.16.70.6"></a><h4>Returns</h4>
|
2831
|
+
<p> the face name for the face. This string is
|
2832
|
+
owned by the face object and must not be modified or freed.</p>
|
2833
|
+
<p></p>
|
2834
|
+
</div>
|
2835
|
+
</div>
|
2836
|
+
<hr>
|
2837
|
+
<div class="refsect2">
|
2838
|
+
<a name="pango-font-face-list-sizes"></a><h3>pango_font_face_list_sizes ()</h3>
|
2839
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2840
|
+
pango_font_face_list_sizes (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>,
|
2841
|
+
<em class="parameter"><code><span class="type">int</span> **sizes</code></em>,
|
2842
|
+
<em class="parameter"><code><span class="type">int</span> *n_sizes</code></em>);</pre>
|
2843
|
+
<p>List the available sizes for a font. This is only applicable to bitmap
|
2844
|
+
fonts. For scalable fonts, stores <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> at the location pointed to by
|
2845
|
+
<em class="parameter"><code>sizes</code></em>
|
2846
|
+
and 0 at the location pointed to by <em class="parameter"><code>n_sizes</code></em>
|
2847
|
+
. The sizes returned
|
2848
|
+
are in Pango units and are sorted in ascending order.</p>
|
2849
|
+
<div class="refsect3">
|
2850
|
+
<a name="id-1.2.4.16.71.5"></a><h4>Parameters</h4>
|
2851
|
+
<div class="informaltable"><table width="100%" border="0">
|
2852
|
+
<colgroup>
|
2853
|
+
<col width="150px" class="parameters_name">
|
2854
|
+
<col class="parameters_description">
|
2855
|
+
<col width="200px" class="parameters_annotations">
|
2856
|
+
</colgroup>
|
2857
|
+
<tbody>
|
2858
|
+
<tr>
|
2859
|
+
<td class="parameter_name"><p>face</p></td>
|
2860
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.</p></td>
|
2861
|
+
<td class="parameter_annotations"> </td>
|
2862
|
+
</tr>
|
2863
|
+
<tr>
|
2864
|
+
<td class="parameter_name"><p>sizes</p></td>
|
2865
|
+
<td class="parameter_description"><p> location to store a pointer
|
2866
|
+
to an array of int. This array should be freed with
|
2867
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p></td>
|
2868
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_sizes]</span></td>
|
2869
|
+
</tr>
|
2870
|
+
<tr>
|
2871
|
+
<td class="parameter_name"><p>n_sizes</p></td>
|
2872
|
+
<td class="parameter_description"><p>location to store the number of elements in <em class="parameter"><code>sizes</code></em>
|
2873
|
+
</p></td>
|
2874
|
+
<td class="parameter_annotations"> </td>
|
2875
|
+
</tr>
|
2876
|
+
</tbody>
|
2877
|
+
</table></div>
|
2878
|
+
</div>
|
2879
|
+
<p class="since">Since 1.4</p>
|
2880
|
+
</div>
|
2881
|
+
<hr>
|
2882
|
+
<div class="refsect2">
|
2883
|
+
<a name="pango-font-face-describe"></a><h3>pango_font_face_describe ()</h3>
|
2884
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
2885
|
+
pango_font_face_describe (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);</pre>
|
2886
|
+
<p>Returns the family, style, variant, weight and stretch of
|
2887
|
+
a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>. The size field of the resulting font description
|
2888
|
+
will be unset.</p>
|
2889
|
+
<div class="refsect3">
|
2890
|
+
<a name="id-1.2.4.16.72.5"></a><h4>Parameters</h4>
|
2891
|
+
<div class="informaltable"><table width="100%" border="0">
|
2892
|
+
<colgroup>
|
2893
|
+
<col width="150px" class="parameters_name">
|
2894
|
+
<col class="parameters_description">
|
2895
|
+
<col width="200px" class="parameters_annotations">
|
2896
|
+
</colgroup>
|
2897
|
+
<tbody><tr>
|
2898
|
+
<td class="parameter_name"><p>face</p></td>
|
2899
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a></p></td>
|
2900
|
+
<td class="parameter_annotations"> </td>
|
2901
|
+
</tr></tbody>
|
2902
|
+
</table></div>
|
2903
|
+
</div>
|
2904
|
+
<div class="refsect3">
|
2905
|
+
<a name="id-1.2.4.16.72.6"></a><h4>Returns</h4>
|
2906
|
+
<p> a newly-created <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure
|
2907
|
+
holding the description of the face. Use <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>
|
2908
|
+
to free the result.</p>
|
2909
|
+
<p></p>
|
2910
|
+
</div>
|
2911
|
+
</div>
|
2912
|
+
<hr>
|
2913
|
+
<div class="refsect2">
|
2914
|
+
<a name="pango-font-face-is-synthesized"></a><h3>pango_font_face_is_synthesized ()</h3>
|
2915
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2916
|
+
pango_font_face_is_synthesized (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);</pre>
|
2917
|
+
<p>Returns whether a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> is synthesized by the underlying
|
2918
|
+
font rendering engine from another face, perhaps by shearing, emboldening,
|
2919
|
+
or lightening it.</p>
|
2920
|
+
<div class="refsect3">
|
2921
|
+
<a name="id-1.2.4.16.73.5"></a><h4>Parameters</h4>
|
2922
|
+
<div class="informaltable"><table width="100%" border="0">
|
2923
|
+
<colgroup>
|
2924
|
+
<col width="150px" class="parameters_name">
|
2925
|
+
<col class="parameters_description">
|
2926
|
+
<col width="200px" class="parameters_annotations">
|
2927
|
+
</colgroup>
|
2928
|
+
<tbody><tr>
|
2929
|
+
<td class="parameter_name"><p>face</p></td>
|
2930
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a></p></td>
|
2931
|
+
<td class="parameter_annotations"> </td>
|
2932
|
+
</tr></tbody>
|
2933
|
+
</table></div>
|
2934
|
+
</div>
|
2935
|
+
<div class="refsect3">
|
2936
|
+
<a name="id-1.2.4.16.73.6"></a><h4>Returns</h4>
|
2937
|
+
<p> whether <em class="parameter"><code>face</code></em>
|
2938
|
+
is synthesized.</p>
|
2939
|
+
<p></p>
|
2940
|
+
</div>
|
2941
|
+
<p class="since">Since 1.18</p>
|
2942
|
+
</div>
|
2943
|
+
<hr>
|
2944
|
+
<div class="refsect2">
|
2945
|
+
<a name="PANGO-TYPE-FONT-MAP:CAPS"></a><h3>PANGO_TYPE_FONT_MAP</h3>
|
2946
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_MAP (pango_font_map_get_type ())
|
2947
|
+
</pre>
|
2948
|
+
<p>The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.</p>
|
2949
|
+
</div>
|
2950
|
+
<hr>
|
2951
|
+
<div class="refsect2">
|
2952
|
+
<a name="PANGO-FONT-MAP:CAPS"></a><h3>PANGO_FONT_MAP()</h3>
|
2953
|
+
<pre class="programlisting">#define PANGO_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_MAP, PangoFontMap))
|
2954
|
+
</pre>
|
2955
|
+
<p>Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.</p>
|
2956
|
+
<div class="refsect3">
|
2957
|
+
<a name="id-1.2.4.16.75.5"></a><h4>Parameters</h4>
|
2958
|
+
<div class="informaltable"><table width="100%" border="0">
|
2959
|
+
<colgroup>
|
2960
|
+
<col width="150px" class="parameters_name">
|
2961
|
+
<col class="parameters_description">
|
2962
|
+
<col width="200px" class="parameters_annotations">
|
2963
|
+
</colgroup>
|
2964
|
+
<tbody><tr>
|
2965
|
+
<td class="parameter_name"><p>object</p></td>
|
2966
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</p></td>
|
2967
|
+
<td class="parameter_annotations"> </td>
|
2968
|
+
</tr></tbody>
|
2969
|
+
</table></div>
|
2970
|
+
</div>
|
2971
|
+
</div>
|
2972
|
+
<hr>
|
2973
|
+
<div class="refsect2">
|
2974
|
+
<a name="PANGO-IS-FONT-MAP:CAPS"></a><h3>PANGO_IS_FONT_MAP()</h3>
|
2975
|
+
<pre class="programlisting">#define PANGO_IS_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_MAP))
|
2976
|
+
</pre>
|
2977
|
+
<div class="refsect3">
|
2978
|
+
<a name="id-1.2.4.16.76.4"></a><h4>Parameters</h4>
|
2979
|
+
<div class="informaltable"><table width="100%" border="0">
|
2980
|
+
<colgroup>
|
2981
|
+
<col width="150px" class="parameters_name">
|
2982
|
+
<col class="parameters_description">
|
2983
|
+
<col width="200px" class="parameters_annotations">
|
2984
|
+
</colgroup>
|
2985
|
+
<tbody><tr>
|
2986
|
+
<td class="parameter_name"><p>object</p></td>
|
2987
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</p></td>
|
2988
|
+
<td class="parameter_annotations"> </td>
|
2989
|
+
</tr></tbody>
|
2990
|
+
</table></div>
|
2991
|
+
</div>
|
2992
|
+
<div class="refsect3">
|
2993
|
+
<a name="id-1.2.4.16.76.5"></a><h4>Returns</h4>
|
2994
|
+
<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>object</code></em>
|
2995
|
+
is a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.</p>
|
2996
|
+
<p></p>
|
2997
|
+
</div>
|
2998
|
+
</div>
|
2999
|
+
<hr>
|
3000
|
+
<div class="refsect2">
|
3001
|
+
<a name="PANGO-FONT-MAP-CLASS:CAPS"></a><h3>PANGO_FONT_MAP_CLASS()</h3>
|
3002
|
+
<pre class="programlisting">#define PANGO_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT_MAP, PangoFontMapClass))
|
3003
|
+
</pre>
|
3004
|
+
<p>Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.</p>
|
3005
|
+
<div class="refsect3">
|
3006
|
+
<a name="id-1.2.4.16.77.5"></a><h4>Parameters</h4>
|
3007
|
+
<div class="informaltable"><table width="100%" border="0">
|
3008
|
+
<colgroup>
|
3009
|
+
<col width="150px" class="parameters_name">
|
3010
|
+
<col class="parameters_description">
|
3011
|
+
<col width="200px" class="parameters_annotations">
|
3012
|
+
</colgroup>
|
3013
|
+
<tbody><tr>
|
3014
|
+
<td class="parameter_name"><p>klass</p></td>
|
3015
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</p></td>
|
3016
|
+
<td class="parameter_annotations"> </td>
|
3017
|
+
</tr></tbody>
|
3018
|
+
</table></div>
|
3019
|
+
</div>
|
3020
|
+
</div>
|
3021
|
+
<hr>
|
3022
|
+
<div class="refsect2">
|
3023
|
+
<a name="PANGO-IS-FONT-MAP-CLASS:CAPS"></a><h3>PANGO_IS_FONT_MAP_CLASS()</h3>
|
3024
|
+
<pre class="programlisting">#define PANGO_IS_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT_MAP))
|
3025
|
+
</pre>
|
3026
|
+
<div class="refsect3">
|
3027
|
+
<a name="id-1.2.4.16.78.4"></a><h4>Parameters</h4>
|
3028
|
+
<div class="informaltable"><table width="100%" border="0">
|
3029
|
+
<colgroup>
|
3030
|
+
<col width="150px" class="parameters_name">
|
3031
|
+
<col class="parameters_description">
|
3032
|
+
<col width="200px" class="parameters_annotations">
|
3033
|
+
</colgroup>
|
3034
|
+
<tbody><tr>
|
3035
|
+
<td class="parameter_name"><p>klass</p></td>
|
3036
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</p></td>
|
3037
|
+
<td class="parameter_annotations"> </td>
|
3038
|
+
</tr></tbody>
|
3039
|
+
</table></div>
|
3040
|
+
</div>
|
3041
|
+
<div class="refsect3">
|
3042
|
+
<a name="id-1.2.4.16.78.5"></a><h4>Returns</h4>
|
3043
|
+
<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>klass</code></em>
|
3044
|
+
is a subtype of <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.</p>
|
3045
|
+
<p></p>
|
3046
|
+
</div>
|
3047
|
+
</div>
|
3048
|
+
<hr>
|
3049
|
+
<div class="refsect2">
|
3050
|
+
<a name="PANGO-FONT-MAP-GET-CLASS:CAPS"></a><h3>PANGO_FONT_MAP_GET_CLASS()</h3>
|
3051
|
+
<pre class="programlisting">#define PANGO_FONT_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONT_MAP, PangoFontMapClass))
|
3052
|
+
</pre>
|
3053
|
+
<div class="refsect3">
|
3054
|
+
<a name="id-1.2.4.16.79.4"></a><h4>Parameters</h4>
|
3055
|
+
<div class="informaltable"><table width="100%" border="0">
|
3056
|
+
<colgroup>
|
3057
|
+
<col width="150px" class="parameters_name">
|
3058
|
+
<col class="parameters_description">
|
3059
|
+
<col width="200px" class="parameters_annotations">
|
3060
|
+
</colgroup>
|
3061
|
+
<tbody><tr>
|
3062
|
+
<td class="parameter_name"><p>obj</p></td>
|
3063
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.</p></td>
|
3064
|
+
<td class="parameter_annotations"> </td>
|
3065
|
+
</tr></tbody>
|
3066
|
+
</table></div>
|
3067
|
+
</div>
|
3068
|
+
<div class="refsect3">
|
3069
|
+
<a name="id-1.2.4.16.79.5"></a><h4>Returns</h4>
|
3070
|
+
<p> class of <em class="parameter"><code>obj</code></em>
|
3071
|
+
</p>
|
3072
|
+
<p></p>
|
3073
|
+
</div>
|
3074
|
+
</div>
|
3075
|
+
<hr>
|
3076
|
+
<div class="refsect2">
|
3077
|
+
<a name="pango-font-map-create-context"></a><h3>pango_font_map_create_context ()</h3>
|
3078
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
|
3079
|
+
pango_font_map_create_context (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);</pre>
|
3080
|
+
<p>Creates a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> connected to <em class="parameter"><code>fontmap</code></em>
|
3081
|
+
. This is equivalent
|
3082
|
+
to <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pango_context_new ()"><code class="function">pango_context_new()</code></a> followed by <a class="link" href="pango-Text-Processing.html#pango-context-set-font-map" title="pango_context_set_font_map ()"><code class="function">pango_context_set_font_map()</code></a>.</p>
|
3083
|
+
<p>If you are using Pango as part of a higher-level system,
|
3084
|
+
that system may have it's own way of create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
3085
|
+
For instance, the GTK+ toolkit has, among others,
|
3086
|
+
<a href="http://developer.gnome.org/gdk2/gdk3-Pango-Interaction.html#gdk-pango-context-get-for-screen"><code class="function">gdk_pango_context_get_for_screen()</code></a>, and
|
3087
|
+
<a href="http://developer.gnome.org/gtk2/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>. Use those instead.</p>
|
3088
|
+
<div class="refsect3">
|
3089
|
+
<a name="id-1.2.4.16.80.6"></a><h4>Parameters</h4>
|
3090
|
+
<div class="informaltable"><table width="100%" border="0">
|
3091
|
+
<colgroup>
|
3092
|
+
<col width="150px" class="parameters_name">
|
3093
|
+
<col class="parameters_description">
|
3094
|
+
<col width="200px" class="parameters_annotations">
|
3095
|
+
</colgroup>
|
3096
|
+
<tbody><tr>
|
3097
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
3098
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a></p></td>
|
3099
|
+
<td class="parameter_annotations"> </td>
|
3100
|
+
</tr></tbody>
|
3101
|
+
</table></div>
|
3102
|
+
</div>
|
3103
|
+
<div class="refsect3">
|
3104
|
+
<a name="id-1.2.4.16.80.7"></a><h4>Returns</h4>
|
3105
|
+
<p> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>,
|
3106
|
+
which should 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>
|
3107
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3108
|
+
</div>
|
3109
|
+
<p class="since">Since 1.22</p>
|
3110
|
+
</div>
|
3111
|
+
<hr>
|
3112
|
+
<div class="refsect2">
|
3113
|
+
<a name="pango-font-map-load-font"></a><h3>pango_font_map_load_font ()</h3>
|
3114
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *
|
3115
|
+
pango_font_map_load_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
3116
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
3117
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
3118
|
+
<p>Load the font in the fontmap that is the closest match for <em class="parameter"><code>desc</code></em>
|
3119
|
+
.</p>
|
3120
|
+
<div class="refsect3">
|
3121
|
+
<a name="id-1.2.4.16.81.5"></a><h4>Parameters</h4>
|
3122
|
+
<div class="informaltable"><table width="100%" border="0">
|
3123
|
+
<colgroup>
|
3124
|
+
<col width="150px" class="parameters_name">
|
3125
|
+
<col class="parameters_description">
|
3126
|
+
<col width="200px" class="parameters_annotations">
|
3127
|
+
</colgroup>
|
3128
|
+
<tbody>
|
3129
|
+
<tr>
|
3130
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
3131
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a></p></td>
|
3132
|
+
<td class="parameter_annotations"> </td>
|
3133
|
+
</tr>
|
3134
|
+
<tr>
|
3135
|
+
<td class="parameter_name"><p>context</p></td>
|
3136
|
+
<td class="parameter_description"><p>the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> the font will be used with</p></td>
|
3137
|
+
<td class="parameter_annotations"> </td>
|
3138
|
+
</tr>
|
3139
|
+
<tr>
|
3140
|
+
<td class="parameter_name"><p>desc</p></td>
|
3141
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the font to load</p></td>
|
3142
|
+
<td class="parameter_annotations"> </td>
|
3143
|
+
</tr>
|
3144
|
+
</tbody>
|
3145
|
+
</table></div>
|
3146
|
+
</div>
|
3147
|
+
<div class="refsect3">
|
3148
|
+
<a name="id-1.2.4.16.81.6"></a><h4>Returns</h4>
|
3149
|
+
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> loaded,
|
3150
|
+
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. </p>
|
3151
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3152
|
+
</div>
|
3153
|
+
</div>
|
3154
|
+
<hr>
|
3155
|
+
<div class="refsect2">
|
3156
|
+
<a name="pango-font-map-load-fontset"></a><h3>pango_font_map_load_fontset ()</h3>
|
3157
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> *
|
3158
|
+
pango_font_map_load_fontset (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
3159
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
3160
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
3161
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
3162
|
+
<p>Load a set of fonts in the fontmap that can be used to render
|
3163
|
+
a font matching <em class="parameter"><code>desc</code></em>
|
3164
|
+
.</p>
|
3165
|
+
<div class="refsect3">
|
3166
|
+
<a name="id-1.2.4.16.82.5"></a><h4>Parameters</h4>
|
3167
|
+
<div class="informaltable"><table width="100%" border="0">
|
3168
|
+
<colgroup>
|
3169
|
+
<col width="150px" class="parameters_name">
|
3170
|
+
<col class="parameters_description">
|
3171
|
+
<col width="200px" class="parameters_annotations">
|
3172
|
+
</colgroup>
|
3173
|
+
<tbody>
|
3174
|
+
<tr>
|
3175
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
3176
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a></p></td>
|
3177
|
+
<td class="parameter_annotations"> </td>
|
3178
|
+
</tr>
|
3179
|
+
<tr>
|
3180
|
+
<td class="parameter_name"><p>context</p></td>
|
3181
|
+
<td class="parameter_description"><p>the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> the font will be used with</p></td>
|
3182
|
+
<td class="parameter_annotations"> </td>
|
3183
|
+
</tr>
|
3184
|
+
<tr>
|
3185
|
+
<td class="parameter_name"><p>desc</p></td>
|
3186
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the font to load</p></td>
|
3187
|
+
<td class="parameter_annotations"> </td>
|
3188
|
+
</tr>
|
3189
|
+
<tr>
|
3190
|
+
<td class="parameter_name"><p>language</p></td>
|
3191
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> the fonts will be used for</p></td>
|
3192
|
+
<td class="parameter_annotations"> </td>
|
3193
|
+
</tr>
|
3194
|
+
</tbody>
|
3195
|
+
</table></div>
|
3196
|
+
</div>
|
3197
|
+
<div class="refsect3">
|
3198
|
+
<a name="id-1.2.4.16.82.6"></a><h4>Returns</h4>
|
3199
|
+
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>
|
3200
|
+
loaded, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. </p>
|
3201
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3202
|
+
</div>
|
3203
|
+
</div>
|
3204
|
+
<hr>
|
3205
|
+
<div class="refsect2">
|
3206
|
+
<a name="pango-font-map-list-families"></a><h3>pango_font_map_list_families ()</h3>
|
3207
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
3208
|
+
pango_font_map_list_families (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
3209
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> ***families</code></em>,
|
3210
|
+
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
|
3211
|
+
<p>List all families for a fontmap.</p>
|
3212
|
+
<div class="refsect3">
|
3213
|
+
<a name="id-1.2.4.16.83.5"></a><h4>Parameters</h4>
|
3214
|
+
<div class="informaltable"><table width="100%" border="0">
|
3215
|
+
<colgroup>
|
3216
|
+
<col width="150px" class="parameters_name">
|
3217
|
+
<col class="parameters_description">
|
3218
|
+
<col width="200px" class="parameters_annotations">
|
3219
|
+
</colgroup>
|
3220
|
+
<tbody>
|
3221
|
+
<tr>
|
3222
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
3223
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a></p></td>
|
3224
|
+
<td class="parameter_annotations"> </td>
|
3225
|
+
</tr>
|
3226
|
+
<tr>
|
3227
|
+
<td class="parameter_name"><p>families</p></td>
|
3228
|
+
<td class="parameter_description"><p> location to store a pointer to an array of <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *.
|
3229
|
+
This array should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p></td>
|
3230
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_families][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></td>
|
3231
|
+
</tr>
|
3232
|
+
<tr>
|
3233
|
+
<td class="parameter_name"><p>n_families</p></td>
|
3234
|
+
<td class="parameter_description"><p> location to store the number of elements in <em class="parameter"><code>families</code></em>
|
3235
|
+
. </p></td>
|
3236
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
3237
|
+
</tr>
|
3238
|
+
</tbody>
|
3239
|
+
</table></div>
|
3240
|
+
</div>
|
3241
|
+
</div>
|
3242
|
+
<hr>
|
3243
|
+
<div class="refsect2">
|
3244
|
+
<a name="pango-font-map-get-shape-engine-type"></a><h3>pango_font_map_get_shape_engine_type ()</h3>
|
3245
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
3246
|
+
pango_font_map_get_shape_engine_type (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);</pre>
|
3247
|
+
<p>Returns the render ID for shape engines for this fontmap.
|
3248
|
+
See the <em class="structfield"><code>render_type</code></em> field of
|
3249
|
+
<a class="link" href="pango-Engines.html#PangoEngineInfo" title="struct PangoEngineInfo"><span class="type">PangoEngineInfo</span></a>.</p>
|
3250
|
+
<div class="refsect3">
|
3251
|
+
<a name="id-1.2.4.16.84.5"></a><h4>Parameters</h4>
|
3252
|
+
<div class="informaltable"><table width="100%" border="0">
|
3253
|
+
<colgroup>
|
3254
|
+
<col width="150px" class="parameters_name">
|
3255
|
+
<col class="parameters_description">
|
3256
|
+
<col width="200px" class="parameters_annotations">
|
3257
|
+
</colgroup>
|
3258
|
+
<tbody><tr>
|
3259
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
3260
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a></p></td>
|
3261
|
+
<td class="parameter_annotations"> </td>
|
3262
|
+
</tr></tbody>
|
3263
|
+
</table></div>
|
3264
|
+
</div>
|
3265
|
+
<div class="refsect3">
|
3266
|
+
<a name="id-1.2.4.16.84.6"></a><h4>Returns</h4>
|
3267
|
+
<p> the ID string for shape engines for
|
3268
|
+
this fontmap. Owned by Pango, should not be modified
|
3269
|
+
or freed.</p>
|
3270
|
+
<p></p>
|
3271
|
+
</div>
|
3272
|
+
<p class="since">Since 1.4</p>
|
3273
|
+
</div>
|
3274
|
+
<hr>
|
3275
|
+
<div class="refsect2">
|
3276
|
+
<a name="pango-font-map-get-serial"></a><h3>pango_font_map_get_serial ()</h3>
|
3277
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
3278
|
+
pango_font_map_get_serial (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);</pre>
|
3279
|
+
<p>Returns the current serial number of <em class="parameter"><code>fontmap</code></em>
|
3280
|
+
. The serial number is
|
3281
|
+
initialized to an small number larger than zero when a new fontmap
|
3282
|
+
is created and is increased whenever the fontmap is changed. It may
|
3283
|
+
wrap, but will never have the value 0. Since it can wrap, never compare
|
3284
|
+
it with "less than", always use "not equals".</p>
|
3285
|
+
<p>The fontmap can only be changed using backend-specific API, like changing
|
3286
|
+
fontmap resolution.</p>
|
3287
|
+
<p>This can be used to automatically detect changes to a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>, like
|
3288
|
+
in <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
3289
|
+
<div class="refsect3">
|
3290
|
+
<a name="id-1.2.4.16.85.7"></a><h4>Parameters</h4>
|
3291
|
+
<div class="informaltable"><table width="100%" border="0">
|
3292
|
+
<colgroup>
|
3293
|
+
<col width="150px" class="parameters_name">
|
3294
|
+
<col class="parameters_description">
|
3295
|
+
<col width="200px" class="parameters_annotations">
|
3296
|
+
</colgroup>
|
3297
|
+
<tbody><tr>
|
3298
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
3299
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a></p></td>
|
3300
|
+
<td class="parameter_annotations"> </td>
|
3301
|
+
</tr></tbody>
|
3302
|
+
</table></div>
|
3303
|
+
</div>
|
3304
|
+
<div class="refsect3">
|
3305
|
+
<a name="id-1.2.4.16.85.8"></a><h4>Returns</h4>
|
3306
|
+
<p> The current serial number of <em class="parameter"><code>fontmap</code></em>
|
3307
|
+
.</p>
|
3308
|
+
<p></p>
|
3309
|
+
</div>
|
3310
|
+
<p class="since">Since 1.32.4</p>
|
3311
|
+
</div>
|
3312
|
+
<hr>
|
3313
|
+
<div class="refsect2">
|
3314
|
+
<a name="pango-font-map-changed"></a><h3>pango_font_map_changed ()</h3>
|
3315
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
3316
|
+
pango_font_map_changed (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);</pre>
|
3317
|
+
<p>Forces a change in the context, which will cause any <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
3318
|
+
using this fontmap to change.</p>
|
3319
|
+
<p>This function is only useful when implementing a new backend
|
3320
|
+
for Pango, something applications won't do. Backends should
|
3321
|
+
call this function if they have attached extra data to the context
|
3322
|
+
and such data is changed.</p>
|
3323
|
+
<div class="refsect3">
|
3324
|
+
<a name="id-1.2.4.16.86.6"></a><h4>Parameters</h4>
|
3325
|
+
<div class="informaltable"><table width="100%" border="0">
|
3326
|
+
<colgroup>
|
3327
|
+
<col width="150px" class="parameters_name">
|
3328
|
+
<col class="parameters_description">
|
3329
|
+
<col width="200px" class="parameters_annotations">
|
3330
|
+
</colgroup>
|
3331
|
+
<tbody><tr>
|
3332
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
3333
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a></p></td>
|
3334
|
+
<td class="parameter_annotations"> </td>
|
3335
|
+
</tr></tbody>
|
3336
|
+
</table></div>
|
3337
|
+
</div>
|
3338
|
+
<p class="since">Since 1.34</p>
|
3339
|
+
</div>
|
3340
|
+
<hr>
|
3341
|
+
<div class="refsect2">
|
3342
|
+
<a name="PANGO-TYPE-FONTSET:CAPS"></a><h3>PANGO_TYPE_FONTSET</h3>
|
3343
|
+
<pre class="programlisting">#define PANGO_TYPE_FONTSET (pango_fontset_get_type ())
|
3344
|
+
</pre>
|
3345
|
+
<p>The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>.</p>
|
3346
|
+
</div>
|
3347
|
+
<hr>
|
3348
|
+
<div class="refsect2">
|
3349
|
+
<a name="pango-fontset-get-font"></a><h3>pango_fontset_get_font ()</h3>
|
3350
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *
|
3351
|
+
pango_fontset_get_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
3352
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> wc</code></em>);</pre>
|
3353
|
+
<p>Returns the font in the fontset that contains the best glyph for the
|
3354
|
+
Unicode character <em class="parameter"><code>wc</code></em>
|
3355
|
+
.</p>
|
3356
|
+
<div class="refsect3">
|
3357
|
+
<a name="id-1.2.4.16.88.5"></a><h4>Parameters</h4>
|
3358
|
+
<div class="informaltable"><table width="100%" border="0">
|
3359
|
+
<colgroup>
|
3360
|
+
<col width="150px" class="parameters_name">
|
3361
|
+
<col class="parameters_description">
|
3362
|
+
<col width="200px" class="parameters_annotations">
|
3363
|
+
</colgroup>
|
3364
|
+
<tbody>
|
3365
|
+
<tr>
|
3366
|
+
<td class="parameter_name"><p>fontset</p></td>
|
3367
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a></p></td>
|
3368
|
+
<td class="parameter_annotations"> </td>
|
3369
|
+
</tr>
|
3370
|
+
<tr>
|
3371
|
+
<td class="parameter_name"><p>wc</p></td>
|
3372
|
+
<td class="parameter_description"><p>a Unicode character</p></td>
|
3373
|
+
<td class="parameter_annotations"> </td>
|
3374
|
+
</tr>
|
3375
|
+
</tbody>
|
3376
|
+
</table></div>
|
3377
|
+
</div>
|
3378
|
+
<div class="refsect3">
|
3379
|
+
<a name="id-1.2.4.16.88.6"></a><h4>Returns</h4>
|
3380
|
+
<p> a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>. The caller must call
|
3381
|
+
g_object_unref when finished with the font. </p>
|
3382
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3383
|
+
</div>
|
3384
|
+
</div>
|
3385
|
+
<hr>
|
3386
|
+
<div class="refsect2">
|
3387
|
+
<a name="pango-fontset-get-metrics"></a><h3>pango_fontset_get_metrics ()</h3>
|
3388
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
3389
|
+
pango_fontset_get_metrics (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>);</pre>
|
3390
|
+
<p>Get overall metric information for the fonts in the fontset.</p>
|
3391
|
+
<div class="refsect3">
|
3392
|
+
<a name="id-1.2.4.16.89.5"></a><h4>Parameters</h4>
|
3393
|
+
<div class="informaltable"><table width="100%" border="0">
|
3394
|
+
<colgroup>
|
3395
|
+
<col width="150px" class="parameters_name">
|
3396
|
+
<col class="parameters_description">
|
3397
|
+
<col width="200px" class="parameters_annotations">
|
3398
|
+
</colgroup>
|
3399
|
+
<tbody><tr>
|
3400
|
+
<td class="parameter_name"><p>fontset</p></td>
|
3401
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a></p></td>
|
3402
|
+
<td class="parameter_annotations"> </td>
|
3403
|
+
</tr></tbody>
|
3404
|
+
</table></div>
|
3405
|
+
</div>
|
3406
|
+
<div class="refsect3">
|
3407
|
+
<a name="id-1.2.4.16.89.6"></a><h4>Returns</h4>
|
3408
|
+
<p> a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
3409
|
+
when finished using the object.</p>
|
3410
|
+
<p></p>
|
3411
|
+
</div>
|
3412
|
+
</div>
|
3413
|
+
<hr>
|
3414
|
+
<div class="refsect2">
|
3415
|
+
<a name="PangoFontsetForeachFunc"></a><h3>PangoFontsetForeachFunc ()</h3>
|
3416
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3417
|
+
<span class="c_punctuation">(</span>*PangoFontsetForeachFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
3418
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
3419
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3420
|
+
<p>A callback function used by <a class="link" href="pango-Fonts.html#pango-fontset-foreach" title="pango_fontset_foreach ()"><code class="function">pango_fontset_foreach()</code></a> when enumerating
|
3421
|
+
the fonts in a fontset.</p>
|
3422
|
+
<div class="refsect3">
|
3423
|
+
<a name="id-1.2.4.16.90.5"></a><h4>Parameters</h4>
|
3424
|
+
<div class="informaltable"><table width="100%" border="0">
|
3425
|
+
<colgroup>
|
3426
|
+
<col width="150px" class="parameters_name">
|
3427
|
+
<col class="parameters_description">
|
3428
|
+
<col width="200px" class="parameters_annotations">
|
3429
|
+
</colgroup>
|
3430
|
+
<tbody>
|
3431
|
+
<tr>
|
3432
|
+
<td class="parameter_name"><p>fontset</p></td>
|
3433
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a></p></td>
|
3434
|
+
<td class="parameter_annotations"> </td>
|
3435
|
+
</tr>
|
3436
|
+
<tr>
|
3437
|
+
<td class="parameter_name"><p>font</p></td>
|
3438
|
+
<td class="parameter_description"><p>a font from <em class="parameter"><code>fontset</code></em>
|
3439
|
+
</p></td>
|
3440
|
+
<td class="parameter_annotations"> </td>
|
3441
|
+
</tr>
|
3442
|
+
<tr>
|
3443
|
+
<td class="parameter_name"><p>user_data</p></td>
|
3444
|
+
<td class="parameter_description"><p>callback data</p></td>
|
3445
|
+
<td class="parameter_annotations"> </td>
|
3446
|
+
</tr>
|
3447
|
+
</tbody>
|
3448
|
+
</table></div>
|
3449
|
+
</div>
|
3450
|
+
<div class="refsect3">
|
3451
|
+
<a name="id-1.2.4.16.90.6"></a><h4>Returns</h4>
|
3452
|
+
<p> if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, stop iteration and return immediately.</p>
|
3453
|
+
<p></p>
|
3454
|
+
</div>
|
3455
|
+
<p class="since">Since 1.4</p>
|
3456
|
+
</div>
|
3457
|
+
<hr>
|
3458
|
+
<div class="refsect2">
|
3459
|
+
<a name="pango-fontset-foreach"></a><h3>pango_fontset_foreach ()</h3>
|
3460
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
3461
|
+
pango_fontset_foreach (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
3462
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()"><span class="type">PangoFontsetForeachFunc</span></a> func</code></em>,
|
3463
|
+
<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>
|
3464
|
+
<p>Iterates through all the fonts in a fontset, calling <em class="parameter"><code>func</code></em>
|
3465
|
+
for
|
3466
|
+
each one. If <em class="parameter"><code>func</code></em>
|
3467
|
+
returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, that stops the iteration.</p>
|
3468
|
+
<div class="refsect3">
|
3469
|
+
<a name="id-1.2.4.16.91.5"></a><h4>Parameters</h4>
|
3470
|
+
<div class="informaltable"><table width="100%" border="0">
|
3471
|
+
<colgroup>
|
3472
|
+
<col width="150px" class="parameters_name">
|
3473
|
+
<col class="parameters_description">
|
3474
|
+
<col width="200px" class="parameters_annotations">
|
3475
|
+
</colgroup>
|
3476
|
+
<tbody>
|
3477
|
+
<tr>
|
3478
|
+
<td class="parameter_name"><p>fontset</p></td>
|
3479
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a></p></td>
|
3480
|
+
<td class="parameter_annotations"> </td>
|
3481
|
+
</tr>
|
3482
|
+
<tr>
|
3483
|
+
<td class="parameter_name"><p>func</p></td>
|
3484
|
+
<td class="parameter_description"><p> Callback function. </p></td>
|
3485
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> data][<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
|
3486
|
+
</tr>
|
3487
|
+
<tr>
|
3488
|
+
<td class="parameter_name"><p>data</p></td>
|
3489
|
+
<td class="parameter_description"><p> data to pass to the callback function. </p></td>
|
3490
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
|
3491
|
+
</tr>
|
3492
|
+
</tbody>
|
3493
|
+
</table></div>
|
3494
|
+
</div>
|
3495
|
+
<p class="since">Since 1.4</p>
|
3496
|
+
</div>
|
3497
|
+
<hr>
|
3498
|
+
<div class="refsect2">
|
3499
|
+
<a name="PANGO-TYPE-FONTSET-SIMPLE:CAPS"></a><h3>PANGO_TYPE_FONTSET_SIMPLE</h3>
|
3500
|
+
<pre class="programlisting">#define PANGO_TYPE_FONTSET_SIMPLE (pango_fontset_simple_get_type ())
|
3501
|
+
</pre>
|
3502
|
+
<p>The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.</p>
|
3503
|
+
</div>
|
3504
|
+
<hr>
|
3505
|
+
<div class="refsect2">
|
3506
|
+
<a name="pango-fontset-simple-new"></a><h3>pango_fontset_simple_new ()</h3>
|
3507
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> *
|
3508
|
+
pango_fontset_simple_new (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
3509
|
+
<p>Creates a new <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> for the given language.</p>
|
3510
|
+
<div class="refsect3">
|
3511
|
+
<a name="id-1.2.4.16.93.5"></a><h4>Parameters</h4>
|
3512
|
+
<div class="informaltable"><table width="100%" border="0">
|
3513
|
+
<colgroup>
|
3514
|
+
<col width="150px" class="parameters_name">
|
3515
|
+
<col class="parameters_description">
|
3516
|
+
<col width="200px" class="parameters_annotations">
|
3517
|
+
</colgroup>
|
3518
|
+
<tbody><tr>
|
3519
|
+
<td class="parameter_name"><p>language</p></td>
|
3520
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> tag</p></td>
|
3521
|
+
<td class="parameter_annotations"> </td>
|
3522
|
+
</tr></tbody>
|
3523
|
+
</table></div>
|
3524
|
+
</div>
|
3525
|
+
<div class="refsect3">
|
3526
|
+
<a name="id-1.2.4.16.93.6"></a><h4>Returns</h4>
|
3527
|
+
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>, which should
|
3528
|
+
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>
|
3529
|
+
<p></p>
|
3530
|
+
</div>
|
3531
|
+
</div>
|
3532
|
+
<hr>
|
3533
|
+
<div class="refsect2">
|
3534
|
+
<a name="pango-fontset-simple-append"></a><h3>pango_fontset_simple_append ()</h3>
|
3535
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
3536
|
+
pango_fontset_simple_append (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> *fontset</code></em>,
|
3537
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
3538
|
+
<p>Adds a font to the fontset.</p>
|
3539
|
+
<div class="refsect3">
|
3540
|
+
<a name="id-1.2.4.16.94.5"></a><h4>Parameters</h4>
|
3541
|
+
<div class="informaltable"><table width="100%" border="0">
|
3542
|
+
<colgroup>
|
3543
|
+
<col width="150px" class="parameters_name">
|
3544
|
+
<col class="parameters_description">
|
3545
|
+
<col width="200px" class="parameters_annotations">
|
3546
|
+
</colgroup>
|
3547
|
+
<tbody>
|
3548
|
+
<tr>
|
3549
|
+
<td class="parameter_name"><p>fontset</p></td>
|
3550
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.</p></td>
|
3551
|
+
<td class="parameter_annotations"> </td>
|
3552
|
+
</tr>
|
3553
|
+
<tr>
|
3554
|
+
<td class="parameter_name"><p>font</p></td>
|
3555
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p></td>
|
3556
|
+
<td class="parameter_annotations"> </td>
|
3557
|
+
</tr>
|
3558
|
+
</tbody>
|
3559
|
+
</table></div>
|
3560
|
+
</div>
|
3561
|
+
</div>
|
3562
|
+
<hr>
|
3563
|
+
<div class="refsect2">
|
3564
|
+
<a name="pango-fontset-simple-size"></a><h3>pango_fontset_simple_size ()</h3>
|
3565
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
3566
|
+
pango_fontset_simple_size (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> *fontset</code></em>);</pre>
|
3567
|
+
<p>Returns the number of fonts in the fontset.</p>
|
3568
|
+
<div class="refsect3">
|
3569
|
+
<a name="id-1.2.4.16.95.5"></a><h4>Parameters</h4>
|
3570
|
+
<div class="informaltable"><table width="100%" border="0">
|
3571
|
+
<colgroup>
|
3572
|
+
<col width="150px" class="parameters_name">
|
3573
|
+
<col class="parameters_description">
|
3574
|
+
<col width="200px" class="parameters_annotations">
|
3575
|
+
</colgroup>
|
3576
|
+
<tbody><tr>
|
3577
|
+
<td class="parameter_name"><p>fontset</p></td>
|
3578
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.</p></td>
|
3579
|
+
<td class="parameter_annotations"> </td>
|
3580
|
+
</tr></tbody>
|
3581
|
+
</table></div>
|
3582
|
+
</div>
|
3583
|
+
<div class="refsect3">
|
3584
|
+
<a name="id-1.2.4.16.95.6"></a><h4>Returns</h4>
|
3585
|
+
<p> the size of <em class="parameter"><code>fontset</code></em>
|
3586
|
+
.</p>
|
3587
|
+
<p></p>
|
3588
|
+
</div>
|
3589
|
+
</div>
|
3590
|
+
</div>
|
3591
|
+
<div class="refsect1">
|
3592
|
+
<a name="pango-Fonts.other_details"></a><h2>Types and Values</h2>
|
3593
|
+
<div class="refsect2">
|
3594
|
+
<a name="PangoFontDescription-struct"></a><h3>PangoFontDescription</h3>
|
3595
|
+
<pre class="programlisting">typedef struct _PangoFontDescription PangoFontDescription;</pre>
|
3596
|
+
<p>The <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure represents the description
|
3597
|
+
of an ideal font. These structures are used both to list
|
3598
|
+
what fonts are available on the system and also for specifying
|
3599
|
+
the characteristics of a font to load.</p>
|
3600
|
+
</div>
|
3601
|
+
<hr>
|
3602
|
+
<div class="refsect2">
|
3603
|
+
<a name="PangoStyle"></a><h3>enum PangoStyle</h3>
|
3604
|
+
<p>An enumeration specifying the various slant styles possible for a font.</p>
|
3605
|
+
<div class="refsect3">
|
3606
|
+
<a name="id-1.2.4.17.3.4"></a><h4>Members</h4>
|
3607
|
+
<div class="informaltable"><table width="100%" border="0">
|
3608
|
+
<colgroup>
|
3609
|
+
<col width="300px" class="enum_members_name">
|
3610
|
+
<col class="enum_members_description">
|
3611
|
+
<col width="200px" class="enum_members_annotations">
|
3612
|
+
</colgroup>
|
3613
|
+
<tbody>
|
3614
|
+
<tr>
|
3615
|
+
<td class="enum_member_name"><p><a name="PANGO-STYLE-NORMAL:CAPS"></a>PANGO_STYLE_NORMAL</p></td>
|
3616
|
+
<td class="enum_member_description">
|
3617
|
+
<p>the font is upright.</p>
|
3618
|
+
</td>
|
3619
|
+
<td class="enum_member_annotations"> </td>
|
3620
|
+
</tr>
|
3621
|
+
<tr>
|
3622
|
+
<td class="enum_member_name"><p><a name="PANGO-STYLE-OBLIQUE:CAPS"></a>PANGO_STYLE_OBLIQUE</p></td>
|
3623
|
+
<td class="enum_member_description">
|
3624
|
+
<p>the font is slanted, but in a roman style.</p>
|
3625
|
+
</td>
|
3626
|
+
<td class="enum_member_annotations"> </td>
|
3627
|
+
</tr>
|
3628
|
+
<tr>
|
3629
|
+
<td class="enum_member_name"><p><a name="PANGO-STYLE-ITALIC:CAPS"></a>PANGO_STYLE_ITALIC</p></td>
|
3630
|
+
<td class="enum_member_description">
|
3631
|
+
<p>the font is slanted in an italic style.</p>
|
3632
|
+
</td>
|
3633
|
+
<td class="enum_member_annotations"> </td>
|
3634
|
+
</tr>
|
3635
|
+
</tbody>
|
3636
|
+
</table></div>
|
3637
|
+
</div>
|
3638
|
+
</div>
|
3639
|
+
<hr>
|
3640
|
+
<div class="refsect2">
|
3641
|
+
<a name="PangoWeight"></a><h3>enum PangoWeight</h3>
|
3642
|
+
<p>An enumeration specifying the weight (boldness) of a font. This is a numerical
|
3643
|
+
value ranging from 100 to 1000, but there are some predefined values:</p>
|
3644
|
+
<div class="refsect3">
|
3645
|
+
<a name="id-1.2.4.17.4.4"></a><h4>Members</h4>
|
3646
|
+
<div class="informaltable"><table width="100%" border="0">
|
3647
|
+
<colgroup>
|
3648
|
+
<col width="300px" class="enum_members_name">
|
3649
|
+
<col class="enum_members_description">
|
3650
|
+
<col width="200px" class="enum_members_annotations">
|
3651
|
+
</colgroup>
|
3652
|
+
<tbody>
|
3653
|
+
<tr>
|
3654
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-THIN:CAPS"></a>PANGO_WEIGHT_THIN</p></td>
|
3655
|
+
<td class="enum_member_description">
|
3656
|
+
<p>the thin weight (= 100; Since: 1.24)</p>
|
3657
|
+
</td>
|
3658
|
+
<td class="enum_member_annotations"> </td>
|
3659
|
+
</tr>
|
3660
|
+
<tr>
|
3661
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-ULTRALIGHT:CAPS"></a>PANGO_WEIGHT_ULTRALIGHT</p></td>
|
3662
|
+
<td class="enum_member_description">
|
3663
|
+
<p>the ultralight weight (= 200)</p>
|
3664
|
+
</td>
|
3665
|
+
<td class="enum_member_annotations"> </td>
|
3666
|
+
</tr>
|
3667
|
+
<tr>
|
3668
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-LIGHT:CAPS"></a>PANGO_WEIGHT_LIGHT</p></td>
|
3669
|
+
<td class="enum_member_description">
|
3670
|
+
<p>the light weight (= 300)</p>
|
3671
|
+
</td>
|
3672
|
+
<td class="enum_member_annotations"> </td>
|
3673
|
+
</tr>
|
3674
|
+
<tr>
|
3675
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-SEMILIGHT:CAPS"></a>PANGO_WEIGHT_SEMILIGHT</p></td>
|
3676
|
+
<td class="enum_member_description">
|
3677
|
+
<p>the semilight weight (= 350; Since: 1.36.7)</p>
|
3678
|
+
</td>
|
3679
|
+
<td class="enum_member_annotations"> </td>
|
3680
|
+
</tr>
|
3681
|
+
<tr>
|
3682
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-BOOK:CAPS"></a>PANGO_WEIGHT_BOOK</p></td>
|
3683
|
+
<td class="enum_member_description">
|
3684
|
+
<p>the book weight (= 380; Since: 1.24)</p>
|
3685
|
+
</td>
|
3686
|
+
<td class="enum_member_annotations"> </td>
|
3687
|
+
</tr>
|
3688
|
+
<tr>
|
3689
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-NORMAL:CAPS"></a>PANGO_WEIGHT_NORMAL</p></td>
|
3690
|
+
<td class="enum_member_description">
|
3691
|
+
<p>the default weight (= 400)</p>
|
3692
|
+
</td>
|
3693
|
+
<td class="enum_member_annotations"> </td>
|
3694
|
+
</tr>
|
3695
|
+
<tr>
|
3696
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-MEDIUM:CAPS"></a>PANGO_WEIGHT_MEDIUM</p></td>
|
3697
|
+
<td class="enum_member_description">
|
3698
|
+
<p>the normal weight (= 500; Since: 1.24)</p>
|
3699
|
+
</td>
|
3700
|
+
<td class="enum_member_annotations"> </td>
|
3701
|
+
</tr>
|
3702
|
+
<tr>
|
3703
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-SEMIBOLD:CAPS"></a>PANGO_WEIGHT_SEMIBOLD</p></td>
|
3704
|
+
<td class="enum_member_description">
|
3705
|
+
<p>the semibold weight (= 600)</p>
|
3706
|
+
</td>
|
3707
|
+
<td class="enum_member_annotations"> </td>
|
3708
|
+
</tr>
|
3709
|
+
<tr>
|
3710
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-BOLD:CAPS"></a>PANGO_WEIGHT_BOLD</p></td>
|
3711
|
+
<td class="enum_member_description">
|
3712
|
+
<p>the bold weight (= 700)</p>
|
3713
|
+
</td>
|
3714
|
+
<td class="enum_member_annotations"> </td>
|
3715
|
+
</tr>
|
3716
|
+
<tr>
|
3717
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-ULTRABOLD:CAPS"></a>PANGO_WEIGHT_ULTRABOLD</p></td>
|
3718
|
+
<td class="enum_member_description">
|
3719
|
+
<p>the ultrabold weight (= 800)</p>
|
3720
|
+
</td>
|
3721
|
+
<td class="enum_member_annotations"> </td>
|
3722
|
+
</tr>
|
3723
|
+
<tr>
|
3724
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-HEAVY:CAPS"></a>PANGO_WEIGHT_HEAVY</p></td>
|
3725
|
+
<td class="enum_member_description">
|
3726
|
+
<p>the heavy weight (= 900)</p>
|
3727
|
+
</td>
|
3728
|
+
<td class="enum_member_annotations"> </td>
|
3729
|
+
</tr>
|
3730
|
+
<tr>
|
3731
|
+
<td class="enum_member_name"><p><a name="PANGO-WEIGHT-ULTRAHEAVY:CAPS"></a>PANGO_WEIGHT_ULTRAHEAVY</p></td>
|
3732
|
+
<td class="enum_member_description">
|
3733
|
+
<p>the ultraheavy weight (= 1000; Since: 1.24)</p>
|
3734
|
+
</td>
|
3735
|
+
<td class="enum_member_annotations"> </td>
|
3736
|
+
</tr>
|
3737
|
+
</tbody>
|
3738
|
+
</table></div>
|
3739
|
+
</div>
|
3740
|
+
</div>
|
3741
|
+
<hr>
|
3742
|
+
<div class="refsect2">
|
3743
|
+
<a name="PangoVariant"></a><h3>enum PangoVariant</h3>
|
3744
|
+
<p>An enumeration specifying capitalization variant of the font.</p>
|
3745
|
+
<div class="refsect3">
|
3746
|
+
<a name="id-1.2.4.17.5.4"></a><h4>Members</h4>
|
3747
|
+
<div class="informaltable"><table width="100%" border="0">
|
3748
|
+
<colgroup>
|
3749
|
+
<col width="300px" class="enum_members_name">
|
3750
|
+
<col class="enum_members_description">
|
3751
|
+
<col width="200px" class="enum_members_annotations">
|
3752
|
+
</colgroup>
|
3753
|
+
<tbody>
|
3754
|
+
<tr>
|
3755
|
+
<td class="enum_member_name"><p><a name="PANGO-VARIANT-NORMAL:CAPS"></a>PANGO_VARIANT_NORMAL</p></td>
|
3756
|
+
<td class="enum_member_description">
|
3757
|
+
<p>A normal font.</p>
|
3758
|
+
</td>
|
3759
|
+
<td class="enum_member_annotations"> </td>
|
3760
|
+
</tr>
|
3761
|
+
<tr>
|
3762
|
+
<td class="enum_member_name"><p><a name="PANGO-VARIANT-SMALL-CAPS"></a>PANGO_VARIANT_SMALL_CAPS</p></td>
|
3763
|
+
<td class="enum_member_description">
|
3764
|
+
<p>A font with the lower case characters
|
3765
|
+
replaced by smaller variants of the capital characters.</p>
|
3766
|
+
</td>
|
3767
|
+
<td class="enum_member_annotations"> </td>
|
3768
|
+
</tr>
|
3769
|
+
</tbody>
|
3770
|
+
</table></div>
|
3771
|
+
</div>
|
3772
|
+
</div>
|
3773
|
+
<hr>
|
3774
|
+
<div class="refsect2">
|
3775
|
+
<a name="PangoStretch"></a><h3>enum PangoStretch</h3>
|
3776
|
+
<p>An enumeration specifying the width of the font relative to other designs
|
3777
|
+
within a family.</p>
|
3778
|
+
<div class="refsect3">
|
3779
|
+
<a name="id-1.2.4.17.6.4"></a><h4>Members</h4>
|
3780
|
+
<div class="informaltable"><table width="100%" border="0">
|
3781
|
+
<colgroup>
|
3782
|
+
<col width="300px" class="enum_members_name">
|
3783
|
+
<col class="enum_members_description">
|
3784
|
+
<col width="200px" class="enum_members_annotations">
|
3785
|
+
</colgroup>
|
3786
|
+
<tbody>
|
3787
|
+
<tr>
|
3788
|
+
<td class="enum_member_name"><p><a name="PANGO-STRETCH-ULTRA-CONDENSED:CAPS"></a>PANGO_STRETCH_ULTRA_CONDENSED</p></td>
|
3789
|
+
<td class="enum_member_description">
|
3790
|
+
<p>ultra condensed width</p>
|
3791
|
+
</td>
|
3792
|
+
<td class="enum_member_annotations"> </td>
|
3793
|
+
</tr>
|
3794
|
+
<tr>
|
3795
|
+
<td class="enum_member_name"><p><a name="PANGO-STRETCH-EXTRA-CONDENSED:CAPS"></a>PANGO_STRETCH_EXTRA_CONDENSED</p></td>
|
3796
|
+
<td class="enum_member_description">
|
3797
|
+
<p>extra condensed width</p>
|
3798
|
+
</td>
|
3799
|
+
<td class="enum_member_annotations"> </td>
|
3800
|
+
</tr>
|
3801
|
+
<tr>
|
3802
|
+
<td class="enum_member_name"><p><a name="PANGO-STRETCH-CONDENSED:CAPS"></a>PANGO_STRETCH_CONDENSED</p></td>
|
3803
|
+
<td class="enum_member_description">
|
3804
|
+
<p>condensed width</p>
|
3805
|
+
</td>
|
3806
|
+
<td class="enum_member_annotations"> </td>
|
3807
|
+
</tr>
|
3808
|
+
<tr>
|
3809
|
+
<td class="enum_member_name"><p><a name="PANGO-STRETCH-SEMI-CONDENSED:CAPS"></a>PANGO_STRETCH_SEMI_CONDENSED</p></td>
|
3810
|
+
<td class="enum_member_description">
|
3811
|
+
<p>semi condensed width</p>
|
3812
|
+
</td>
|
3813
|
+
<td class="enum_member_annotations"> </td>
|
3814
|
+
</tr>
|
3815
|
+
<tr>
|
3816
|
+
<td class="enum_member_name"><p><a name="PANGO-STRETCH-NORMAL:CAPS"></a>PANGO_STRETCH_NORMAL</p></td>
|
3817
|
+
<td class="enum_member_description">
|
3818
|
+
<p>the normal width</p>
|
3819
|
+
</td>
|
3820
|
+
<td class="enum_member_annotations"> </td>
|
3821
|
+
</tr>
|
3822
|
+
<tr>
|
3823
|
+
<td class="enum_member_name"><p><a name="PANGO-STRETCH-SEMI-EXPANDED:CAPS"></a>PANGO_STRETCH_SEMI_EXPANDED</p></td>
|
3824
|
+
<td class="enum_member_description">
|
3825
|
+
<p>semi expanded width</p>
|
3826
|
+
</td>
|
3827
|
+
<td class="enum_member_annotations"> </td>
|
3828
|
+
</tr>
|
3829
|
+
<tr>
|
3830
|
+
<td class="enum_member_name"><p><a name="PANGO-STRETCH-EXPANDED:CAPS"></a>PANGO_STRETCH_EXPANDED</p></td>
|
3831
|
+
<td class="enum_member_description">
|
3832
|
+
<p>expanded width</p>
|
3833
|
+
</td>
|
3834
|
+
<td class="enum_member_annotations"> </td>
|
3835
|
+
</tr>
|
3836
|
+
<tr>
|
3837
|
+
<td class="enum_member_name"><p><a name="PANGO-STRETCH-EXTRA-EXPANDED:CAPS"></a>PANGO_STRETCH_EXTRA_EXPANDED</p></td>
|
3838
|
+
<td class="enum_member_description">
|
3839
|
+
<p>extra expanded width</p>
|
3840
|
+
</td>
|
3841
|
+
<td class="enum_member_annotations"> </td>
|
3842
|
+
</tr>
|
3843
|
+
<tr>
|
3844
|
+
<td class="enum_member_name"><p><a name="PANGO-STRETCH-ULTRA-EXPANDED:CAPS"></a>PANGO_STRETCH_ULTRA_EXPANDED</p></td>
|
3845
|
+
<td class="enum_member_description">
|
3846
|
+
<p>ultra expanded width</p>
|
3847
|
+
</td>
|
3848
|
+
<td class="enum_member_annotations"> </td>
|
3849
|
+
</tr>
|
3850
|
+
</tbody>
|
3851
|
+
</table></div>
|
3852
|
+
</div>
|
3853
|
+
</div>
|
3854
|
+
<hr>
|
3855
|
+
<div class="refsect2">
|
3856
|
+
<a name="PangoFontMask"></a><h3>enum PangoFontMask</h3>
|
3857
|
+
<p>The bits in a <a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="type">PangoFontMask</span></a> correspond to fields in a
|
3858
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that have been set.</p>
|
3859
|
+
<div class="refsect3">
|
3860
|
+
<a name="id-1.2.4.17.7.4"></a><h4>Members</h4>
|
3861
|
+
<div class="informaltable"><table width="100%" border="0">
|
3862
|
+
<colgroup>
|
3863
|
+
<col width="300px" class="enum_members_name">
|
3864
|
+
<col class="enum_members_description">
|
3865
|
+
<col width="200px" class="enum_members_annotations">
|
3866
|
+
</colgroup>
|
3867
|
+
<tbody>
|
3868
|
+
<tr>
|
3869
|
+
<td class="enum_member_name"><p><a name="PANGO-FONT-MASK-FAMILY:CAPS"></a>PANGO_FONT_MASK_FAMILY</p></td>
|
3870
|
+
<td class="enum_member_description">
|
3871
|
+
<p>the font family is specified.</p>
|
3872
|
+
</td>
|
3873
|
+
<td class="enum_member_annotations"> </td>
|
3874
|
+
</tr>
|
3875
|
+
<tr>
|
3876
|
+
<td class="enum_member_name"><p><a name="PANGO-FONT-MASK-STYLE:CAPS"></a>PANGO_FONT_MASK_STYLE</p></td>
|
3877
|
+
<td class="enum_member_description">
|
3878
|
+
<p>the font style is specified.</p>
|
3879
|
+
</td>
|
3880
|
+
<td class="enum_member_annotations"> </td>
|
3881
|
+
</tr>
|
3882
|
+
<tr>
|
3883
|
+
<td class="enum_member_name"><p><a name="PANGO-FONT-MASK-VARIANT:CAPS"></a>PANGO_FONT_MASK_VARIANT</p></td>
|
3884
|
+
<td class="enum_member_description">
|
3885
|
+
<p>the font variant is specified.</p>
|
3886
|
+
</td>
|
3887
|
+
<td class="enum_member_annotations"> </td>
|
3888
|
+
</tr>
|
3889
|
+
<tr>
|
3890
|
+
<td class="enum_member_name"><p><a name="PANGO-FONT-MASK-WEIGHT:CAPS"></a>PANGO_FONT_MASK_WEIGHT</p></td>
|
3891
|
+
<td class="enum_member_description">
|
3892
|
+
<p>the font weight is specified.</p>
|
3893
|
+
</td>
|
3894
|
+
<td class="enum_member_annotations"> </td>
|
3895
|
+
</tr>
|
3896
|
+
<tr>
|
3897
|
+
<td class="enum_member_name"><p><a name="PANGO-FONT-MASK-STRETCH:CAPS"></a>PANGO_FONT_MASK_STRETCH</p></td>
|
3898
|
+
<td class="enum_member_description">
|
3899
|
+
<p>the font stretch is specified.</p>
|
3900
|
+
</td>
|
3901
|
+
<td class="enum_member_annotations"> </td>
|
3902
|
+
</tr>
|
3903
|
+
<tr>
|
3904
|
+
<td class="enum_member_name"><p><a name="PANGO-FONT-MASK-SIZE:CAPS"></a>PANGO_FONT_MASK_SIZE</p></td>
|
3905
|
+
<td class="enum_member_description">
|
3906
|
+
<p>the font size is specified.</p>
|
3907
|
+
</td>
|
3908
|
+
<td class="enum_member_annotations"> </td>
|
3909
|
+
</tr>
|
3910
|
+
<tr>
|
3911
|
+
<td class="enum_member_name"><p><a name="PANGO-FONT-MASK-GRAVITY:CAPS"></a>PANGO_FONT_MASK_GRAVITY</p></td>
|
3912
|
+
<td class="enum_member_description">
|
3913
|
+
<p>the font gravity is specified (Since: 1.16.)</p>
|
3914
|
+
</td>
|
3915
|
+
<td class="enum_member_annotations"> </td>
|
3916
|
+
</tr>
|
3917
|
+
</tbody>
|
3918
|
+
</table></div>
|
3919
|
+
</div>
|
3920
|
+
</div>
|
3921
|
+
<hr>
|
3922
|
+
<div class="refsect2">
|
3923
|
+
<a name="PangoFontMetrics-struct"></a><h3>struct PangoFontMetrics</h3>
|
3924
|
+
<pre class="programlisting">struct PangoFontMetrics {
|
3925
|
+
guint ref_count;
|
3926
|
+
|
3927
|
+
int ascent;
|
3928
|
+
int descent;
|
3929
|
+
int approximate_char_width;
|
3930
|
+
int approximate_digit_width;
|
3931
|
+
int underline_position;
|
3932
|
+
int underline_thickness;
|
3933
|
+
int strikethrough_position;
|
3934
|
+
int strikethrough_thickness;
|
3935
|
+
};
|
3936
|
+
</pre>
|
3937
|
+
<p>A <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure holds the overall metric information
|
3938
|
+
for a font (possibly restricted to a script). The fields of this
|
3939
|
+
structure are private to implementations of a font backend. See
|
3940
|
+
the documentation of the corresponding getters for documentation
|
3941
|
+
of their meaning.</p>
|
3942
|
+
</div>
|
3943
|
+
<hr>
|
3944
|
+
<div class="refsect2">
|
3945
|
+
<a name="PangoFont-struct"></a><h3>PangoFont</h3>
|
3946
|
+
<pre class="programlisting">typedef struct _PangoFont PangoFont;</pre>
|
3947
|
+
<p>The <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> structure is used to represent
|
3948
|
+
a font in a rendering-system-independent matter.
|
3949
|
+
To create an implementation of a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>,
|
3950
|
+
the rendering-system specific code should allocate
|
3951
|
+
a larger structure that contains a nested
|
3952
|
+
<a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>, fill in the <em class="structfield"><code>klass</code></em> member of
|
3953
|
+
the nested <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> with a pointer to
|
3954
|
+
a appropriate <span class="type">PangoFontClass</span>, then call
|
3955
|
+
<code class="function">pango_font_init()</code> on the structure.</p>
|
3956
|
+
<p>The <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> structure contains one member
|
3957
|
+
which the implementation fills in.</p>
|
3958
|
+
</div>
|
3959
|
+
<hr>
|
3960
|
+
<div class="refsect2">
|
3961
|
+
<a name="PangoFontFamily-struct"></a><h3>struct PangoFontFamily</h3>
|
3962
|
+
<pre class="programlisting">struct PangoFontFamily;</pre>
|
3963
|
+
<p>The <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> structure is used to represent a family of related
|
3964
|
+
font faces. The faces in a family share a common design, but differ in
|
3965
|
+
slant, weight, width and other aspects.</p>
|
3966
|
+
</div>
|
3967
|
+
<hr>
|
3968
|
+
<div class="refsect2">
|
3969
|
+
<a name="PangoFontFace-struct"></a><h3>struct PangoFontFace</h3>
|
3970
|
+
<pre class="programlisting">struct PangoFontFace;</pre>
|
3971
|
+
<p>The <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> structure is used to represent a group of fonts with
|
3972
|
+
the same family, slant, weight, width, but varying sizes.</p>
|
3973
|
+
</div>
|
3974
|
+
<hr>
|
3975
|
+
<div class="refsect2">
|
3976
|
+
<a name="PangoFontMap-struct"></a><h3>PangoFontMap</h3>
|
3977
|
+
<pre class="programlisting">typedef struct _PangoFontMap PangoFontMap;</pre>
|
3978
|
+
<p>The <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> represents the set of fonts available for a
|
3979
|
+
particular rendering system. This is a virtual object with
|
3980
|
+
implementations being specific to particular rendering systems. To
|
3981
|
+
create an implementation of a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>, the rendering-system
|
3982
|
+
specific code should allocate a larger structure that contains a nested
|
3983
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>, fill in the <em class="structfield"><code>klass</code></em> member of the nested <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> with a
|
3984
|
+
pointer to a appropriate <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>, then call
|
3985
|
+
<code class="function">pango_font_map_init()</code> on the structure.</p>
|
3986
|
+
<p>The <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> structure contains one member which the implementation
|
3987
|
+
fills in.</p>
|
3988
|
+
</div>
|
3989
|
+
<hr>
|
3990
|
+
<div class="refsect2">
|
3991
|
+
<a name="PangoFontMapClass"></a><h3>struct PangoFontMapClass</h3>
|
3992
|
+
<pre class="programlisting">struct PangoFontMapClass {
|
3993
|
+
GObjectClass parent_class;
|
3994
|
+
|
3995
|
+
|
3996
|
+
PangoFont * (*load_font) (PangoFontMap *fontmap,
|
3997
|
+
PangoContext *context,
|
3998
|
+
const PangoFontDescription *desc);
|
3999
|
+
void (*list_families) (PangoFontMap *fontmap,
|
4000
|
+
PangoFontFamily ***families,
|
4001
|
+
int *n_families);
|
4002
|
+
PangoFontset *(*load_fontset) (PangoFontMap *fontmap,
|
4003
|
+
PangoContext *context,
|
4004
|
+
const PangoFontDescription *desc,
|
4005
|
+
PangoLanguage *language);
|
4006
|
+
|
4007
|
+
const char *shape_engine_type;
|
4008
|
+
|
4009
|
+
guint (*get_serial) (PangoFontMap *fontmap);
|
4010
|
+
void (*changed) (PangoFontMap *fontmap);
|
4011
|
+
};
|
4012
|
+
</pre>
|
4013
|
+
<p>The <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a> structure holds the virtual functions for
|
4014
|
+
a particular <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> implementation.</p>
|
4015
|
+
<div class="refsect3">
|
4016
|
+
<a name="id-1.2.4.17.13.5"></a><h4>Members</h4>
|
4017
|
+
<div class="informaltable"><table width="100%" border="0">
|
4018
|
+
<colgroup>
|
4019
|
+
<col width="300px" class="struct_members_name">
|
4020
|
+
<col class="struct_members_description">
|
4021
|
+
<col width="200px" class="struct_members_annotations">
|
4022
|
+
</colgroup>
|
4023
|
+
<tbody>
|
4024
|
+
<tr>
|
4025
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="PangoFontMapClass.parent-class"></a>parent_class</code></em>;</p></td>
|
4026
|
+
<td class="struct_member_description"><p>parent <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a>.</p></td>
|
4027
|
+
<td class="struct_member_annotations"> </td>
|
4028
|
+
</tr>
|
4029
|
+
<tr>
|
4030
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFontMapClass.load-font"></a>load_font</code></em> ()</p></td>
|
4031
|
+
<td class="struct_member_description"><p>a function to load a font with a given description. See
|
4032
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-load-font" title="pango_font_map_load_font ()"><code class="function">pango_font_map_load_font()</code></a>.</p></td>
|
4033
|
+
<td class="struct_member_annotations"> </td>
|
4034
|
+
</tr>
|
4035
|
+
<tr>
|
4036
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFontMapClass.list-families"></a>list_families</code></em> ()</p></td>
|
4037
|
+
<td class="struct_member_description"><p>A function to list available font families. See
|
4038
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-list-families" title="pango_font_map_list_families ()"><code class="function">pango_font_map_list_families()</code></a>.</p></td>
|
4039
|
+
<td class="struct_member_annotations"> </td>
|
4040
|
+
</tr>
|
4041
|
+
<tr>
|
4042
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFontMapClass.load-fontset"></a>load_fontset</code></em> ()</p></td>
|
4043
|
+
<td class="struct_member_description"><p>a function to load a fontset with a given given description
|
4044
|
+
suitable for a particular language. See <a class="link" href="pango-Fonts.html#pango-font-map-load-fontset" title="pango_font_map_load_fontset ()"><code class="function">pango_font_map_load_fontset()</code></a>.</p></td>
|
4045
|
+
<td class="struct_member_annotations"> </td>
|
4046
|
+
</tr>
|
4047
|
+
<tr>
|
4048
|
+
<td class="struct_member_name"><p>const <span class="type">char</span> *<em class="structfield"><code><a name="PangoFontMapClass.shape-engine-type"></a>shape_engine_type</code></em>;</p></td>
|
4049
|
+
<td class="struct_member_description"><p>the type of rendering-system-dependent engines that
|
4050
|
+
can handle fonts of this fonts loaded with this fontmap.</p></td>
|
4051
|
+
<td class="struct_member_annotations"> </td>
|
4052
|
+
</tr>
|
4053
|
+
<tr>
|
4054
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFontMapClass.get-serial"></a>get_serial</code></em> ()</p></td>
|
4055
|
+
<td class="struct_member_description"><p>a function to get the serial number of the fontmap.
|
4056
|
+
See <a class="link" href="pango-Fonts.html#pango-font-map-get-serial" title="pango_font_map_get_serial ()"><code class="function">pango_font_map_get_serial()</code></a>.</p></td>
|
4057
|
+
<td class="struct_member_annotations"> </td>
|
4058
|
+
</tr>
|
4059
|
+
<tr>
|
4060
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFontMapClass.changed"></a>changed</code></em> ()</p></td>
|
4061
|
+
<td class="struct_member_description"><p>See <a class="link" href="pango-Fonts.html#pango-font-map-changed" title="pango_font_map_changed ()"><code class="function">pango_font_map_changed()</code></a></p></td>
|
4062
|
+
<td class="struct_member_annotations"> </td>
|
4063
|
+
</tr>
|
4064
|
+
</tbody>
|
4065
|
+
</table></div>
|
4066
|
+
</div>
|
4067
|
+
</div>
|
4068
|
+
<hr>
|
4069
|
+
<div class="refsect2">
|
4070
|
+
<a name="PangoFontset-struct"></a><h3>struct PangoFontset</h3>
|
4071
|
+
<pre class="programlisting">struct PangoFontset;</pre>
|
4072
|
+
<p>A <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> represents a set of <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> to use
|
4073
|
+
when rendering text. It is the result of resolving a
|
4074
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> against a particular <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
4075
|
+
It has operations for finding the component font for
|
4076
|
+
a particular Unicode character, and for finding a composite
|
4077
|
+
set of metrics for the entire fontset.</p>
|
4078
|
+
</div>
|
4079
|
+
<hr>
|
4080
|
+
<div class="refsect2">
|
4081
|
+
<a name="PangoFontsetClass"></a><h3>struct PangoFontsetClass</h3>
|
4082
|
+
<pre class="programlisting">struct PangoFontsetClass {
|
4083
|
+
GObjectClass parent_class;
|
4084
|
+
|
4085
|
+
|
4086
|
+
PangoFont * (*get_font) (PangoFontset *fontset,
|
4087
|
+
guint wc);
|
4088
|
+
|
4089
|
+
PangoFontMetrics *(*get_metrics) (PangoFontset *fontset);
|
4090
|
+
PangoLanguage * (*get_language) (PangoFontset *fontset);
|
4091
|
+
void (*foreach) (PangoFontset *fontset,
|
4092
|
+
PangoFontsetForeachFunc func,
|
4093
|
+
gpointer data);
|
4094
|
+
};
|
4095
|
+
</pre>
|
4096
|
+
<p>The <a class="link" href="pango-Fonts.html#PangoFontsetClass" title="struct PangoFontsetClass"><span class="type">PangoFontsetClass</span></a> structure holds the virtual functions for
|
4097
|
+
a particular <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> implementation.</p>
|
4098
|
+
<div class="refsect3">
|
4099
|
+
<a name="id-1.2.4.17.15.5"></a><h4>Members</h4>
|
4100
|
+
<div class="informaltable"><table width="100%" border="0">
|
4101
|
+
<colgroup>
|
4102
|
+
<col width="300px" class="struct_members_name">
|
4103
|
+
<col class="struct_members_description">
|
4104
|
+
<col width="200px" class="struct_members_annotations">
|
4105
|
+
</colgroup>
|
4106
|
+
<tbody>
|
4107
|
+
<tr>
|
4108
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="PangoFontsetClass.parent-class"></a>parent_class</code></em>;</p></td>
|
4109
|
+
<td class="struct_member_description"><p>parent <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a>.</p></td>
|
4110
|
+
<td class="struct_member_annotations"> </td>
|
4111
|
+
</tr>
|
4112
|
+
<tr>
|
4113
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFontsetClass.get-font"></a>get_font</code></em> ()</p></td>
|
4114
|
+
<td class="struct_member_description"><p>a function to get the font in the fontset that contains the
|
4115
|
+
best glyph for the given Unicode character; see <a class="link" href="pango-Fonts.html#pango-fontset-get-font" title="pango_fontset_get_font ()"><code class="function">pango_fontset_get_font()</code></a>.</p></td>
|
4116
|
+
<td class="struct_member_annotations"> </td>
|
4117
|
+
</tr>
|
4118
|
+
<tr>
|
4119
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFontsetClass.get-metrics"></a>get_metrics</code></em> ()</p></td>
|
4120
|
+
<td class="struct_member_description"><p>a function to get overall metric information for the fonts
|
4121
|
+
in the fontset; see <a class="link" href="pango-Fonts.html#pango-fontset-get-metrics" title="pango_fontset_get_metrics ()"><code class="function">pango_fontset_get_metrics()</code></a>.</p></td>
|
4122
|
+
<td class="struct_member_annotations"> </td>
|
4123
|
+
</tr>
|
4124
|
+
<tr>
|
4125
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFontsetClass.get-language"></a>get_language</code></em> ()</p></td>
|
4126
|
+
<td class="struct_member_description"><p>a function to get the language of the fontset.</p></td>
|
4127
|
+
<td class="struct_member_annotations"> </td>
|
4128
|
+
</tr>
|
4129
|
+
<tr>
|
4130
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFontsetClass.foreach"></a>foreach</code></em> ()</p></td>
|
4131
|
+
<td class="struct_member_description"><p>a function to loop over the fonts in the fontset. See
|
4132
|
+
<a class="link" href="pango-Fonts.html#pango-fontset-foreach" title="pango_fontset_foreach ()"><code class="function">pango_fontset_foreach()</code></a>.</p></td>
|
4133
|
+
<td class="struct_member_annotations"> </td>
|
4134
|
+
</tr>
|
4135
|
+
</tbody>
|
4136
|
+
</table></div>
|
4137
|
+
</div>
|
4138
|
+
</div>
|
4139
|
+
<hr>
|
4140
|
+
<div class="refsect2">
|
4141
|
+
<a name="PangoFontsetSimple-struct"></a><h3>PangoFontsetSimple</h3>
|
4142
|
+
<pre class="programlisting">typedef struct _PangoFontsetSimple PangoFontsetSimple;</pre>
|
4143
|
+
<p><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> is a implementation of the abstract
|
4144
|
+
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> base class in terms of an array of fonts,
|
4145
|
+
which the creator provides when constructing the
|
4146
|
+
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.</p>
|
4147
|
+
</div>
|
4148
|
+
</div>
|
4149
|
+
</div>
|
4150
|
+
<div class="footer">
|
4151
|
+
<hr>
|
4152
|
+
Generated by GTK-Doc V1.21.1</div>
|
4153
|
+
</body>
|
4154
|
+
</html>
|