Skip to content

silnrsi/graide

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

graide

GRAIDE: GRAphite Integrated Development Environment

Graide is an integrated development environment that can be used to develop fonts with Graphite features. Graphite is a "smart font" system developed specifically to handle the complexities of lesser-known languages of the world.

Installation

Graide uses GrCompiler. Please install it. Alternatively you can bundle it with this Python package. Either set the environment variable GRCOMPILER_BUNDLE to a git reference (e.g. master) and be sure to have its build toolchain installed or set the variable to any other value and the builtin version is copied to the package.

You can install graide from from this directory with pip: pip install -e .

Graide also uses Graphite. Install it by cloning that repo and running the above pip command. You will also need to obtain a graphite2.dll from Team City using the guest login provided there (or by building it from source) and put the dll somewhere on your PATH (or set the PYGRAPHITE2_LIBRARY_PATH environment variable to its absolute path file name).

Additionally, run 1 (with Qt4) or 2 (with Qt5):

  1. pip install PySide
  2. pip install PySide2

You will then have the Python script graide installed.

(Instructions for installing Graide into a Python virtual environment and optionally building an MS Windows exe are in BuildingGraideExe.md.)

Development

The build dependencies are listed in setup.py's install_requires. Graide uses QtPy to abstract its Qt bindings. Therefore PySide or PySide2 is needed as an additional runtime dependency. Using any PyQt version is not supported.

For those wanting to add images to the lib/graide/images directory. Make sure you update the pyresources.qrc and run:

pyside2-rcc -o pyresources.py pyresources.qrc
sed -i -e 's/PySide2/qtpy/' pyresources.py

so that you can see the images from the program.