Giter VIP home page Giter VIP logo

download8866 / afdko-chinese Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adobe-type-tools/afdko

0.0 1.0 0.0 26.28 MB

Adobe Font Development Kit for OpenType 中文使用指南

Home Page: https://adobe-type-tools.github.io/afdko/

License: Other

Python 9.17% Shell 0.11% Makefile 2.04% C 64.34% C++ 2.37% GAP 1.41% R 0.19% C# 0.01% Objective-C 1.42% Batchfile 0.07% Yacc 0.07% Roff 0.10% PostScript 18.70%

afdko-chinese's Introduction

PyPI

Travis Appveyor CircleCI Azure Pipelines

Coverage

Language grade: C/C++ Language grade: Python Total alerts

Adobe Font Development Kit for OpenType (AFDKO)

AFDKO是一组用于从 PostScript 和 TrueType 字体数据中设计OpenType字体文件的工具。

这个存储库包含数据文件、Python脚本和组成AFDKO的命令行程序。项目使用 [Apache 2.0开源许可证](license.md)。

请参考 [AFDKO概述](https://adobe-type-tools.github.io/AFDKO/AFDKO-Overview.html) 有关包中包含的内容的更详细描述。

有关其他信息,如参考资料和相关项目的链接,请参见wiki

安装设置

AFDKO需要[Python](http://www.Python.org/download)3.6 或者以后的版本。

Releases are available on the Python Package Index (PyPI) and can be installed with pip.

安装

选项 1 (推荐)

  • 创建虚拟环境:

      python3 -m venv afdko_env
    
  • Activate the virtual environment:

    • macOS & Linux

        source afdko_env/bin/activate
      
    • Windows

        afdko_env\Scripts\activate.bat
      
  • Install afdko:

      pip install afdko
    

Installing the afdko inside a virtual environment prevents conflicts between its dependencies and other modules installed globally.

选项 2

全局性安装 afdko:

pip install --user afdko

更新

Use the -U (or --upgrade) option to update the afdko (and its dependencies) to the newest stable release:

pip install -U afdko

To get pre-release and in-development versions, use the --pre flag:

pip install -U afdko --pre

卸载

To remove the afdko package use the command:

pip uninstall afdko

从源文件中编译

首先,您必须为您的平台安装了开发工具。

在MacOS环境中,你需要在终端中执行以下命令:

xcode-select --install

在Linux (Ubuntu 17.10 LTS or later)环境中, 你需要在终端中执行以下命令:

apt-get -y install python3.6
apt-get -y install python-pip
apt-get -y install python-dev

在Windows环境中, 你需要用到 Visual Studio 2017 软件.

To build the afdko from source, clone the afdko GitHub repository, ensure the wheel module is installed (pip install wheel), then cd to the top-level directory of the afdko, and run:

pip install .

注意

It's not possible to install the afdko in editable/develop mode using pip install -e . ; this is because the toolkit includes binary C executables which setup.py tries to install in the bin/ (or Scripts/) folder, however this process was only meant to be used with text-based scripts (either written in Python or a shell scripting language). To work around this problem (which really only impacts the few core afdko developers who need to get live feedback as they modify the source files) you can use alternative methods like exporting a PYTHONPATH, using a .pth file or similar hacks. For further details read this comment.

版本2.5.x的主要更改

  • The AFDKO has been restructured so that it can be installed as a Python package. It now depends on the user's Python interpreter, and no longer contains its own Python interpreter.

  • Two programs, IS and checkoutlines were dropped because their source code could not be open-sourced. These tools are available in release version 2.5.65322 and older.

注意

If you install the old AFDKO as well as the new PyPI afdko package, the tools from the newer version will take precedence over the older. This happens because pip adds the afdko's package path at the beginning of the system's PATH environment variable, whereas the old installer adds it at the end; this modification to PATH is not undone by the uninstaller. If you want to completely remove the path to the newer version, you will have to edit the PATH. On the Mac, this means editing the line in your login file that sets the PATH variable. On Windows, this means editing the PATH environment variable in the system's Control Panel.

afdko-chinese's People

Contributors

adrientetar avatar airyshift avatar anthrotype avatar arnie97 avatar arno-enslin avatar behdad avatar benkiel avatar blueshade7 avatar bobh0303 avatar brawer avatar cjchapman avatar codeman38 avatar download8866 avatar frankrolf avatar grzegorzrolek avatar i-tu avatar jamesgk avatar josh-hadley avatar khaledhosny avatar mashabow avatar miguelsousa avatar moyogo avatar msoxzw avatar n7s avatar pyup-bot avatar readroberts avatar rrthomas avatar schriftgestalt avatar sergeresko avatar typemytype avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.