https://github.com/adobe-type-tools/afdko/ Adobe Font Development Kit for OpenType
https://github.com/mpcabd/python-arabic-reshaper/ Reconstruct Arabic sentences to be used in applications that don't support Arabic
https://github.com/adobe-type-tools/afdko/ Adobe Font Development Kit for OpenType
https://github.com/mpcabd/python-arabic-reshaper/ Reconstruct Arabic sentences to be used in applications that don't support Arabic
from __future__ import print_function, division, absolute_import | |
#from fontTools.misc.py23 import * | |
class UnionFind(object): | |
def __init__(self, items): | |
self._sets = dict((x,set([x])) for x in items) | |
self._map = dict((x,x) for x in items) | |
def _union_pair(self, a, b): |
import collections | |
import io | |
import itertools | |
import logging | |
import os | |
import sys | |
from pathlib import Path | |
from pprint import pprint | |
from typing import Dict, List, Tuple |
import pathops | |
from booleanOperations.booleanOperationManager import BooleanOperationManager | |
import time | |
import math | |
print("pathops version:", pathops.__version__) | |
f = CurrentFont() |
""" | |
This compares the speed of experimental changes in ufoLib | |
with the experimental ufoLib in fontTools. This requires the | |
"Roboto-Regular.ufo" font to be located next to this script. | |
""" | |
import os | |
import shutil | |
import timeit | |
import cProfile |
import sys | |
sys.path.insert(0, '/Users/frederik/Downloads/fonttools-ufoLib/Lib') | |
import os | |
import shutil | |
import ufoLib | |
from fontTools.pens.basePen import NullPen | |
w.r.t. my experience with defcon and ufoLib. Some of the functionality I discuss (notifications, etc.) definitely shouldn't go into fontTools however we ought to make fontTools.ufoLib "compatible" with these extra features. I'm sure we can do simple and versatile.
IMO fontTools.ufoLib should basically be written from scratch (with copy-pasting here and there) since ufoLib/defcon have significant bloat and apparently we want to use lxml.
# Python3 port of http://algs4.cs.princeton.edu/code/edu/princeton/cs/algs4/UF.java.html | |
class DisjointSet: | |
""" | |
Execution: python disjoint_set.py < input.txt | |
Data files: http://algs4.cs.princeton.edu/15uf/tinyUF.txt | |
http://algs4.cs.princeton.edu/15uf/mediumUF.txt | |
http://algs4.cs.princeton.edu/15uf/largeUF.txt | |
Weighted quick-union by rank with path compression. | |
This is about documenting getting Linux running on the late 2016 and mid 2017 MPB's; the focus is mostly on the MacBookPro13,3 and MacBookPro14,3 (15inch models), but I try to make it relevant and provide information for MacBookPro13,1, MacBookPro13,2, MacBookPro14,1, and MacBookPro14,2 (13inch models) too. I'm currently using Fedora 27, but most the things should be valid for other recent distros even if the details differ. The kernel version is 4.14.x (after latest update).
The state of linux on the MBP (with particular focus on MacBookPro13,2) is also being tracked on https://github.com/Dunedan/mbp-2016-linux . And for Ubuntu users there are a couple tutorials (here and here) focused on that distro and the MacBook.
Note: For those who have followed these instructions ealier, and in particular for those who have had problems with the custom DSDT, modifying the DSDT is not necessary anymore - se