KMaxStemSnapSize = 12 # including StdStemĭef validateArrayValues( arrayList, valuesMustBePositive): KIsBoldKey = "IsBold" # This is changed to kForceBold in the instanceDict when reading in the instance file. Print "Current list of search paths for modules: " Print "Please run the script FDK/Tools/FontLab/installFontLabMacros.py script, and try again." Print "Failed to find the Adobe FDK support scripts." V1.3.1 - Changed the description of one of the options in the UI.įrom AdobeFontLabUtils import checkControlKeyPress, checkShiftKeyPress V1.3 - Added the option to output the lookups in the format required for Indian scripts. V1.2 - Added the option of writing the mark classes in a separate file V1.1 - Added the option to generate 'mkmk' feature The "instances" file must be a simple text file, located in the If the font is MM, the script requires a file, named "instances", which contains all the if the font's PostScript name is MyFont-BoldItalic, the folder will be named Taking the part of the font's PostScript name after the hyphen, or "Regular" is there is no In this case, the face name is derived by The "features.mark"įile(s) will be written to that folder, if the font is SM, or to a sub-directory path The script will first show a file selection dialog for choosing a folder. Is the one on the right side of the glyph. Keep in mind that in Right-To-Left scripts, the first component of the ligature 1ST, 2ND) which is used for corresponding the anchors with the correct Additionally, the names of the anchors used on the ligature glyphs OpenType classes named "LIGATURES_WITH_X_COMPONENTS", where 'X' should be replaced by a numberīetween 2 and 9 (inclusive). If the font has ligatures and the ligatures have anchors, the ligature glyphs have to be put in Must be added to an OpenType class named 'COMBINING_MARKS'. VERY IMPORTANT: For this script to work, all the combining mark glyphs To access the script's options, hold down the CONTROL key while clicking on the play In FontLab/Studio5/Macros/System/Modules/įor information on how to format the "instances" file, please read the documentation in the The script can also generate "feature.mkmk" file(s).įor information about how the "features.mark/mkmk" files are created, please read theĭocumentation in the WriteFeaturesMarkFDK.py module that can be found The font's mark attachment data in features-file definition syntax. The "features.mark" file is a text file containing This script will generate a set of "features.mark" files from the mark data (anchorsĪnd combining marks class) of a Multiple Master (MM) FontLab font, or one "features.mark"įile if the font is Single Master (SM). Mark Feature Generator v1.3.2 - Mar 10 2013 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISINGįROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER IN NO EVENT SHALL THEĪUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,įITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR The above copyright notice and this permission notice shall be included inĪll copies or substantial portions of the Software. Software is furnished to do so, subject to the following conditions: The rights to use, copy, modify, merge, publish, distribute, sublicense,Īnd/or sell copies of the Software, and to permit persons to whom the To deal in the Software without restriction, including without limitation Permission is hereby granted, free of charge, to any person obtaining aĬopy of this software and associated documentation files (the "Software"), KPrefsFileName = "MarkFeatureGenerator.prefs"Ĭopyright (c) 2010-2013 Adobe Systems Incorporated. # THE VALUES BELOW CAN BE EDITED AS NEEDED #
0 Comments
Leave a Reply. |