Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
2øªjÏŠ ã @ sä d Z ddlmZ ddlmZmZ ddlmZmZ ddl m
Z
mZ ddlm
Z
mZ ddlmZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZmZmZ dd
lmZ ddl m!Z! ddl"m#Z# ddl$m%Z% ddl&m'Z' ddl(m)Z) ddl*m+Z+m,Z, ddl-Z.ddl/Z/ddl0m1Z1 ddl2m3Z3 ddl4m5Z5m6Z6 e/j7dƒZ8dZ9dd„ Z:dd„ Z;dd „ Zd)d*„ Z?d+d,„ Z@e,d-d.d/d0d1d2d3gƒZAeAd4d5d6d7d8dd9�ZBeAd:d;dd?d9�ZCd@dA„ ZDdBdC„ ZEdDdE„ ZFdydFdG„ZGdHdI„ ZHdJdK„ ZIdLdM„ ZJdNdO„ ZKe,dPdQdRdSdTdUdVdWdXdYg ƒZLdZd[„ ZMd\d]„ ZNdd^d_d`dadbdcdddedfœ ZOdgdh„ ZPdidj„ g d&fdkdl„ZQdmdj„ fdndo„ZRdpdj„ fdqdr„ZSG dsdt„ dteTƒZUdzdudv„ZVeWdwk�ràddlXZXeYeXjZƒdk�rÈeXj[eVƒ ƒ ddl\Z\eXj[e\j]ƒ j^ƒ dS ){aÆ
Module for dealing with 'gvar'-style font variations, also known as run-time
interpolation.
The ideas here are very similar to MutatorMath. There is even code to read
MutatorMath .designspace files in the varLib.designspace module.
For now, if you run this file on a designspace file, it tries to find
ttf-interpolatable files for the masters and build a variable-font from
them. Such ttf-interpolatable and designspace files can be generated from
a Glyphs source, eg., using noto-source as an example:
$ fontmake -o ttf-interpolatable -g NotoSansArabic-MM.glyphs
Then you can make a variable-font this way:
$ fonttools varLib master_ufo/NotoSansArabic.designspace
API *will* change in near future.
é )ÚVector)ÚnoRoundÚotRound)ÚTagÚtostr)ÚTTFontÚnewTable)ÚAxisÚ
NamedInstance)ÚGlyphCoordinates)ÚProgram)ÚTupleVariation)ÚotTables)Ú
OTTableWriter)ÚbuilderÚmodelsÚvarStore)ÚVariationMerger)ÚMVAR_ENTRIES)Úiup_delta_optimize)ÚaddFeatureVariations)ÚDesignSpaceDocument)Úpartial)ÚOrderedDictÚ
namedtupleN)Údeepcopy)Úpformaté )ÚVarLibErrorÚVarLibValidationErrorzfontTools.varLibz1com.github.fonttools.varLib.featureVarsFeatureTagc sd ˆ st ‚tˆ tƒst ‚tjdƒ tdƒ}| d }xjˆ jƒ D ]^}tƒ }t|j ƒ|_
|j|j|j
|_|_|_|j|j| dd�|_t|jƒ|_|jj|ƒ q:W x¬|D ]¤}|j}d|jkræ|jsÌtd|› d�ƒ‚t|jƒ} t|jƒ| d<