³ò zõDDc@sÐdZddkZdZdZdZdZd„Zddd „ƒYZdd „Z dd „Z e d joaei ƒZ ed ddddeƒZeiƒGHeid ƒGHeidƒGHeiƒGHeid ƒGHeidƒGHe ƒGHeidƒGeidƒGHeiƒGHeddƒZeidƒGeidƒGHeie dddeƒZeiƒeie ddde iƒZeiƒededƒiƒZeideƒeideƒeiƒndS(s0.9iÿÿÿÿNtnormaltromantboldtitaliccCstd|dtƒS(sFGiven the name of a tk named font, returns a Font representation. tnametexists(tFonttTrue(R((s tkFont.pyct nametofontsRcBsªeZdZd„Zd„Zd„Zddded„Zd„Z d„Z d„Z d„Z d „Z d „Zdd „Zd „Zd „ZeZd„Zd„ZRS(söRepresents a named font. Constructor options are: font -- font specifier (name, system font, or (family, size, style)-tuple) name -- name to use for this font configuration (defaults to a unique name) exists -- does a named font by this name already exist? Creates a new named font if False, points to the existing font if True. Raises _tkinter.TclError if the assertion is false. the following are ignored if font is specified: family -- font 'family', e.g. Courier, Times, Helvetica size -- font size in points weight -- font thickness: NORMAL, BOLD slant -- font slant: ROMAN, ITALIC underline -- font underlining: false (0), true (1) overstrike -- font strikeout: false (0), true (1) cCsQg}x>|iƒD]0\}}|id|ƒ|it|ƒƒqWt|ƒS(Nt-(titemstappendtstrttuple(tselftkwtoptionstktv((s tkFont.pyct_set/s  cCs2g}x|D]}|id|ƒq Wt|ƒS(NR (R R (RtargsRR((s tkFont.pyct_get6s cCsGh}x:tdt|ƒdƒD] }||d|||dN(R+RRRR*(RR((s tkFont.pycR>…s cCst|idd|i|ƒƒS(sReturn text widthRtmeasure(tintR+R(Rttext((s tkFont.pycR?‘scGs¥|o,t|idd|i|i|ƒƒƒSno|i|idd|iƒƒ}h}x@tdt|ƒdƒD]&}t||dƒ|||dRR?RB(((s tkFont.pycRs"           cCs3|p ti}n|ii|iiddƒƒS(sGet font families (as a tuple)Rtfamilies(RR R!R"R#(R,((s tkFont.pycRH¦s cCs3|p ti}n|ii|iiddƒƒS(s'Get names of defined fonts (as a tuple)RR(RR R!R"R#(R,((s tkFont.pycR¬s t__main__tfamilyttimestsizeitweightthellot linespaceRtCourieriRAs Hello, worldsQuit!tcommand((sCourierisbold(t __version__RtNORMALtROMANtBOLDtITALICRRRGRHRRDtTkR,tfRR>R2R?RBtLabeltwtpacktButtontdestroyR<tfbtmainloop(((s tkFont.pycs s>  Ž