updated inline github issue URLs

This commit is contained in:
justvanrossum 2019-03-06 16:01:28 +01:00
parent a72088b65e
commit 723e7a1d3c
9 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,5 @@
"""Extend the Python codecs module with a few encodings that are used in OpenType (name table)
but missing from Python. See https://github.com/behdad/fonttools/issues/236 for details."""
but missing from Python. See https://github.com/fonttools/fonttools/issues/236 for details."""
from __future__ import print_function, division, absolute_import
from fontTools.misc.py23 import *

View File

@ -545,7 +545,7 @@ class Builder(object):
required_feature_indices = {} # ('latn', 'DEU') --> 23
scripts = {} # 'latn' --> {'DEU': [23, 24]} for feature #23,24
# Sort the feature table by feature tag:
# https://github.com/behdad/fonttools/issues/568
# https://github.com/fonttools/fonttools/issues/568
sortFeatureTag = lambda f: (f[0][2], f[0][1], f[0][0], f[1])
for key, lookups in sorted(self.features_.items(), key=sortFeatureTag):
script, lang, feature_tag = key
@ -919,7 +919,7 @@ class Builder(object):
lookup.mapping[from_glyph] = to_glyph
def add_single_subst_chained_(self, location, prefix, suffix, mapping):
# https://github.com/behdad/fonttools/issues/512
# https://github.com/fonttools/fonttools/issues/512
chain = self.get_lookup_(location, ChainContextSubstBuilder)
sub = chain.find_chainable_single_subst(set(mapping.keys()))
if sub is None:

View File

@ -18,7 +18,7 @@ _encodingMap = {
},
1: { # Macintosh
# See
# https://github.com/behdad/fonttools/issues/236
# https://github.com/fonttools/fonttools/issues/236
0: { # Macintosh, platEncID==0, keyed by langID
15: "mac_iceland",
17: "mac_turkish",

View File

@ -31,7 +31,7 @@ def asctime(t=None):
In Python 3.x, the day of the month is right-justified, whereas on Windows
Python 2.7 it is padded with zeros.
See https://github.com/behdad/fonttools/issues/455
See https://github.com/fonttools/fonttools/issues/455
"""
if t is None:
t = time.localtime()

View File

@ -266,7 +266,7 @@ Font naming options:
--name-legacy
Keep legacy (non-Unicode) 'name' table entries (0.x, 1.x etc.).
XXX Note: This might be needed for some fonts that have no Unicode name
entires for English. See: https://github.com/behdad/fonttools/issues/146
entires for English. See: https://github.com/fonttools/fonttools/issues/146
--no-name-legacy
Drop legacy (non-Unicode) 'name' table entries [default]
--name-languages[+|-]=<langID>[,<langID>]
@ -1425,7 +1425,7 @@ def subset_glyphs(self, s):
@_add_method(ttLib.getTableClass('GSUB'),
ttLib.getTableClass('GPOS'))
def retain_empty_scripts(self):
# https://github.com/behdad/fonttools/issues/518
# https://github.com/fonttools/fonttools/issues/518
# https://bugzilla.mozilla.org/show_bug.cgi?id=1080739#c15
return self.__class__ == ttLib.getTableClass('GSUB')

View File

@ -101,7 +101,7 @@ def prune_pre_subset(self, font, options):
# Clear useless Encoding
for fontname in cff.keys():
font = cff[fontname]
# https://github.com/behdad/fonttools/issues/620
# https://github.com/fonttools/fonttools/issues/620
font.Encoding = "StandardEncoding"
return True # bool(cff.fontNames)

View File

@ -115,7 +115,7 @@ class table_E_B_L_C_(DefaultTable.DefaultTable):
indexSubTable.indexFormat = indexFormat
indexSubTable.imageFormat = imageFormat
indexSubTable.imageDataOffset = imageDataOffset
indexSubTable.decompile() # https://github.com/behdad/fonttools/issues/317
indexSubTable.decompile() # https://github.com/fonttools/fonttools/issues/317
curStrike.indexSubTables.append(indexSubTable)
def compile(self, ttFont):

View File

@ -46,7 +46,7 @@ class table__h_e_a_d(DefaultTable.DefaultTable):
# bogus values there. Since till 2038 those bytes only can be zero,
# ignore them.
#
# https://github.com/behdad/fonttools/issues/99#issuecomment-66776810
# https://github.com/fonttools/fonttools/issues/99#issuecomment-66776810
for stamp in 'created', 'modified':
value = getattr(self, stamp)
if value > 0xFFFFFFFF:

View File

@ -303,7 +303,7 @@ class OTTableWriter(object):
# Certain versions of Uniscribe reject the font if the GSUB/GPOS top-level
# arrays (ScriptList, FeatureList, LookupList) point to the same, possibly
# empty, array. So, we don't share those.
# See: https://github.com/behdad/fonttools/issues/518
# See: https://github.com/fonttools/fonttools/issues/518
dontShare = hasattr(self, 'DontShare')
if isExtension: