content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
\n\n
.venv\Lib\site-packages\fontTools\otlLib\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
244
0.85
0
0
vue-tools
142
2024-06-22T19:53:42.995296
MIT
false
52c7a080f876cac2cb2b04793cce3b58
"""Calculate the area of a glyph."""\n\nfrom fontTools.pens.basePen import BasePen\n\n\n__all__ = ["AreaPen"]\n\n\nclass AreaPen(BasePen):\n def __init__(self, glyphset=None):\n BasePen.__init__(self, glyphset)\n self.value = 0\n\n def _moveTo(self, p0):\n self._p0 = self._startPoint = p0\n\n...
.venv\Lib\site-packages\fontTools\pens\areaPen.py
areaPen.py
Python
1,524
0.95
0.192308
0.073171
python-kit
184
2025-04-25T07:57:17.221357
BSD-3-Clause
false
cf7c2488f9a70710641b0bdff7cec4b6
"""fontTools.pens.basePen.py -- Tools and base classes to build pen objects.\n\nThe Pen Protocol\n\nA Pen is a kind of object that standardizes the way how to "draw" outlines:\nit is a middle man between an outline and a drawing. In other words:\nit is an abstraction for drawing outlines, making sure that outline objec...
.venv\Lib\site-packages\fontTools\pens\basePen.py
basePen.py
Python
17,548
0.95
0.204211
0.085938
node-utils
505
2024-02-29T00:17:10.484513
Apache-2.0
false
b992374f5fc9423c4810307be7489763
from fontTools.misc.arrayTools import updateBounds, pointInRect, unionRect\nfrom fontTools.misc.bezierTools import calcCubicBounds, calcQuadraticBounds\nfrom fontTools.pens.basePen import BasePen\n\n\n__all__ = ["BoundsPen", "ControlBoundsPen"]\n\n\nclass ControlBoundsPen(BasePen):\n """Pen to calculate the "control...
.venv\Lib\site-packages\fontTools\pens\boundsPen.py
boundsPen.py
Python
3,227
0.85
0.173469
0
vue-tools
803
2024-05-17T04:42:42.222229
BSD-3-Clause
false
53bd5d5988f79211d2b3c3ae0d8ccdfe
"""Pen to draw to a Cairo graphics library context."""\n\nfrom fontTools.pens.basePen import BasePen\n\n\n__all__ = ["CairoPen"]\n\n\nclass CairoPen(BasePen):\n """Pen to draw to a Cairo graphics library context."""\n\n def __init__(self, glyphSet, context):\n BasePen.__init__(self, glyphSet)\n self...
.venv\Lib\site-packages\fontTools\pens\cairoPen.py
cairoPen.py
Python
618
0.85
0.230769
0
awesome-app
672
2023-09-13T07:52:38.088096
GPL-3.0
false
5a7263d6079aec8b3e0a5984f55f568b
from fontTools.pens.basePen import BasePen\n\n\n__all__ = ["CocoaPen"]\n\n\nclass CocoaPen(BasePen):\n def __init__(self, glyphSet, path=None):\n BasePen.__init__(self, glyphSet)\n if path is None:\n from AppKit import NSBezierPath\n\n path = NSBezierPath.bezierPath()\n sel...
.venv\Lib\site-packages\fontTools\pens\cocoaPen.py
cocoaPen.py
Python
638
0.85
0.269231
0
vue-tools
202
2025-06-11T03:30:41.799775
MIT
false
222b3630c952055c4e1eaa521eea9ad8
# Copyright 2016 Google Inc. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable ...
.venv\Lib\site-packages\fontTools\pens\cu2quPen.py
cu2quPen.py
Python
13,332
0.95
0.227692
0.1
vue-tools
216
2024-06-06T06:07:58.502018
GPL-3.0
false
7f9170287e93c249db11d5345f242586
from fontTools.pens.filterPen import ContourFilterPen\n\n\nclass ExplicitClosingLinePen(ContourFilterPen):\n """A filter pen that adds an explicit lineTo to the first point of each closed\n contour if the end point of the last segment is not already the same as the first point.\n Otherwise, it passes the conto...
.venv\Lib\site-packages\fontTools\pens\explicitClosingLinePen.py
explicitClosingLinePen.py
Python
3,320
0.85
0.049505
0
vue-tools
883
2024-09-14T20:27:20.694687
BSD-3-Clause
false
560eaab6bcb72e1697484de656efa170
from __future__ import annotations\n\nfrom fontTools.pens.basePen import AbstractPen, DecomposingPen\nfrom fontTools.pens.pointPen import AbstractPointPen, DecomposingPointPen\nfrom fontTools.pens.recordingPen import RecordingPen\n\n\nclass _PassThruComponentsMixin(object):\n def addComponent(self, glyphName, transf...
.venv\Lib\site-packages\fontTools\pens\filterPen.py
filterPen.py
Python
8,031
0.95
0.165975
0.016304
react-lib
43
2024-03-27T07:10:26.626117
BSD-3-Clause
false
ca6ee0ed277147031c0c16d223c040b2
# -*- coding: utf-8 -*-\n\n"""Pen to rasterize paths with FreeType."""\n\n__all__ = ["FreeTypePen"]\n\nimport os\nimport ctypes\nimport platform\nimport subprocess\nimport collections\nimport math\n\nimport freetype\nfrom freetype.raw import FT_Outline_Get_Bitmap, FT_Outline_Get_BBox, FT_Outline_Get_CBox\nfrom freetype...
.venv\Lib\site-packages\fontTools\pens\freetypePen.py
freetypePen.py
Python
20,370
0.95
0.123377
0.002469
python-kit
500
2024-12-04T18:05:36.123621
GPL-3.0
false
e026c1194f2e3dc295865f9ca582fd73
# Modified from https://github.com/adobe-type-tools/psautohint/blob/08b346865710ed3c172f1eb581d6ef243b203f99/python/psautohint/ufoFont.py#L800-L838\nimport hashlib\n\nfrom fontTools.pens.basePen import MissingComponentError\nfrom fontTools.pens.pointPen import AbstractPointPen\n\n\nclass HashPointPen(AbstractPointPen):...
.venv\Lib\site-packages\fontTools\pens\hashPointPen.py
hashPointPen.py
Python
3,662
0.95
0.202247
0.026667
react-lib
736
2025-04-10T14:01:52.266484
BSD-3-Clause
false
1fb4b513fee11b74d0620961c18e5271
MZ
.venv\Lib\site-packages\fontTools\pens\momentsPen.cp313-win_amd64.pyd
momentsPen.cp313-win_amd64.pyd
Other
89,088
0.75
0.017212
0.00346
react-lib
357
2024-11-13T19:15:28.411744
BSD-3-Clause
false
3bc730023895d5f26062f61f6102da2e
from fontTools.pens.basePen import BasePen, OpenContourError\n\ntry:\n import cython\nexcept (AttributeError, ImportError):\n # if cython not installed, use mock module with no-op decorators and types\n from fontTools.misc import cython\nCOMPILED = cython.compiled\n\n\n__all__ = ["MomentsPen"]\n\n\nclass Momen...
.venv\Lib\site-packages\fontTools\pens\momentsPen.py
momentsPen.py
Python
26,537
0.95
0.01479
0.021004
vue-tools
297
2024-12-18T20:38:45.772581
Apache-2.0
false
581ab99848786a07bc41f39ee9e91222
# -*- coding: utf-8 -*-\n"""Calculate the perimeter of a glyph."""\n\nfrom fontTools.pens.basePen import BasePen\nfrom fontTools.misc.bezierTools import (\n approximateQuadraticArcLengthC,\n calcQuadraticArcLengthC,\n approximateCubicArcLengthC,\n calcCubicArcLengthC,\n)\nimport math\n\n\n__all__ = ["Perime...
.venv\Lib\site-packages\fontTools\pens\perimeterPen.py
perimeterPen.py
Python
2,222
0.95
0.246377
0.076923
react-lib
16
2025-01-19T20:02:54.556000
GPL-3.0
false
bae56890e607cd0973e294560a0fcf25
"""fontTools.pens.pointInsidePen -- Pen implementing "point inside" testing\nfor shapes.\n"""\n\nfrom fontTools.pens.basePen import BasePen\nfrom fontTools.misc.bezierTools import solveQuadratic, solveCubic\n\n\n__all__ = ["PointInsidePen"]\n\n\nclass PointInsidePen(BasePen):\n """This pen implements "point inside" ...
.venv\Lib\site-packages\fontTools\pens\pointInsidePen.py
pointInsidePen.py
Python
6,547
0.95
0.270833
0.116564
python-kit
709
2023-08-31T14:31:37.709141
MIT
false
3974e5e3becd153ee08f06424a8fb046
"""\n=========\nPointPens\n=========\n\nWhere **SegmentPens** have an intuitive approach to drawing\n(if you're familiar with postscript anyway), the **PointPen**\nis geared towards accessing all the data in the contours of\nthe glyph. A PointPen has a very simple interface, it just\nsteps through all the points in a c...
.venv\Lib\site-packages\fontTools\pens\pointPen.py
pointPen.py
Python
23,339
0.95
0.233169
0.101504
python-kit
179
2024-01-03T14:47:24.710897
BSD-3-Clause
false
3a4f51f0d8287b331bd614b145ae7b7e
from fontTools.pens.basePen import BasePen\n\n\n__all__ = ["QtPen"]\n\n\nclass QtPen(BasePen):\n def __init__(self, glyphSet, path=None):\n BasePen.__init__(self, glyphSet)\n if path is None:\n from PyQt5.QtGui import QPainterPath\n\n path = QPainterPath()\n self.path = pat...
.venv\Lib\site-packages\fontTools\pens\qtPen.py
qtPen.py
Python
663
0.85
0.275862
0
vue-tools
295
2024-01-06T10:48:26.108539
BSD-3-Clause
false
384d96ea5a7698ec9c2907df75427cc2
# Copyright 2016 Google Inc. All Rights Reserved.\n# Copyright 2023 Behdad Esfahbod. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/l...
.venv\Lib\site-packages\fontTools\pens\qu2cuPen.py
qu2cuPen.py
Python
4,090
0.95
0.2
0.159574
python-kit
660
2024-12-03T06:21:07.827767
Apache-2.0
false
f331080d163f4ce9f066289afd5c8605
from fontTools.pens.basePen import BasePen\n\nfrom Quartz.CoreGraphics import CGPathCreateMutable, CGPathMoveToPoint\nfrom Quartz.CoreGraphics import CGPathAddLineToPoint, CGPathAddCurveToPoint\nfrom Quartz.CoreGraphics import CGPathAddQuadCurveToPoint, CGPathCloseSubpath\n\n\n__all__ = ["QuartzPen"]\n\n\nclass QuartzP...
.venv\Lib\site-packages\fontTools\pens\quartzPen.py
quartzPen.py
Python
1,330
0.85
0.186047
0
react-lib
706
2024-05-08T01:55:59.809710
MIT
false
bdc2a9c6fb1370731eac440c861fd535
"""Pen recording operations that can be accessed or replayed."""\n\nfrom fontTools.pens.basePen import AbstractPen, DecomposingPen\nfrom fontTools.pens.pointPen import AbstractPointPen, DecomposingPointPen\n\n\n__all__ = [\n "replayRecording",\n "RecordingPen",\n "DecomposingRecordingPen",\n "DecomposingRec...
.venv\Lib\site-packages\fontTools\pens\recordingPen.py
recordingPen.py
Python
12,824
0.95
0.176119
0.007299
python-kit
641
2025-07-07T07:51:52.502949
MIT
false
bd74d51220a076d0a83b387c4d3dfcf0
from fontTools.pens.basePen import BasePen\nfrom reportlab.graphics.shapes import Path\n\n\n__all__ = ["ReportLabPen"]\n\n\nclass ReportLabPen(BasePen):\n """A pen for drawing onto a ``reportlab.graphics.shapes.Path`` object."""\n\n def __init__(self, glyphSet, path=None):\n BasePen.__init__(self, glyphSet...
.venv\Lib\site-packages\fontTools\pens\reportLabPen.py
reportLabPen.py
Python
2,145
0.95
0.139241
0.016667
node-utils
838
2023-07-30T11:10:33.316050
BSD-3-Clause
false
d47c6e8289c9d725a806e651a6bd4c99
from fontTools.misc.arrayTools import pairwise\nfrom fontTools.pens.filterPen import ContourFilterPen\n\n\n__all__ = ["reversedContour", "ReverseContourPen"]\n\n\nclass ReverseContourPen(ContourFilterPen):\n """Filter pen that passes outline data to another pen, but reversing\n the winding direction of all contou...
.venv\Lib\site-packages\fontTools\pens\reverseContourPen.py
reverseContourPen.py
Python
4,118
0.95
0.229167
0.202532
python-kit
220
2024-12-06T15:04:11.827736
MIT
false
2f8a9714fac134b98d64b1c9d6a9fcf9
from fontTools.misc.roundTools import noRound, otRound\nfrom fontTools.misc.transform import Transform\nfrom fontTools.pens.filterPen import FilterPen, FilterPointPen\n\n\n__all__ = ["RoundingPen", "RoundingPointPen"]\n\n\nclass RoundingPen(FilterPen):\n """\n Filter pen that rounds point coordinates and componen...
.venv\Lib\site-packages\fontTools\pens\roundingPen.py
roundingPen.py
Python
4,779
0.85
0.115385
0.035398
react-lib
861
2024-12-03T01:40:13.058690
BSD-3-Clause
false
92fde0c7a43e425a63caf3fec2531e6e
from typing import Callable\nfrom fontTools.pens.basePen import BasePen\n\n\ndef pointToString(pt, ntos=str):\n return " ".join(ntos(i) for i in pt)\n\n\nclass SVGPathPen(BasePen):\n """Pen to draw SVG path d commands.\n\n Args:\n glyphSet: a dictionary of drawable glyph objects keyed by name\n ...
.venv\Lib\site-packages\fontTools\pens\svgPathPen.py
svgPathPen.py
Python
8,882
0.95
0.083871
0.045977
vue-tools
88
2024-08-20T09:16:58.643876
BSD-3-Clause
false
b3c45ed56d4ff088299e6076bfa4e520
# Copyright (c) 2009 Type Supply LLC\n# Author: Tal Leming\n\nfrom __future__ import annotations\n\nfrom typing import Any, Dict, List, Tuple\n\nfrom fontTools.cffLib.specializer import commandsToProgram, specializeCommands\nfrom fontTools.misc.psCharStrings import T2CharString\nfrom fontTools.misc.roundTools import ot...
.venv\Lib\site-packages\fontTools\pens\t2CharStringPen.py
t2CharStringPen.py
Python
3,019
0.95
0.147727
0.027027
vue-tools
754
2023-11-02T03:51:10.283103
BSD-3-Clause
false
231d770e822130c3e9b602655ecf2ded
"""Pen multiplexing drawing to one or more pens."""\n\nfrom fontTools.pens.basePen import AbstractPen\n\n\n__all__ = ["TeePen"]\n\n\nclass TeePen(AbstractPen):\n """Pen multiplexing drawing to one or more pens.\n\n Use either as TeePen(pen1, pen2, ...) or TeePen(iterableOfPens)."""\n\n def __init__(self, *pens...
.venv\Lib\site-packages\fontTools\pens\teePen.py
teePen.py
Python
1,345
0.85
0.327273
0
python-kit
811
2025-03-31T10:29:53.119405
Apache-2.0
false
d35e6b88b452daee3103544a3dabfd3d
from fontTools.pens.filterPen import FilterPen, FilterPointPen\n\n\n__all__ = ["TransformPen", "TransformPointPen"]\n\n\nclass TransformPen(FilterPen):\n """Pen that transforms all coordinates using a Affine transformation,\n and passes them to another pen.\n """\n\n def __init__(self, outPen, transformatio...
.venv\Lib\site-packages\fontTools\pens\transformPen.py
transformPen.py
Python
4,171
0.85
0.165217
0
react-lib
555
2023-10-07T09:55:56.442802
GPL-3.0
false
0b3a9b293e7eb6f028e4fce76d7f1985
from array import array\nfrom typing import Any, Callable, Dict, Optional, Tuple\nfrom fontTools.misc.fixedTools import MAX_F2DOT14, floatToFixedToFloat\nfrom fontTools.misc.loggingTools import LogMixin\nfrom fontTools.pens.pointPen import AbstractPointPen\nfrom fontTools.misc.roundTools import otRound\nfrom fontTools....
.venv\Lib\site-packages\fontTools\pens\ttGlyphPen.py
ttGlyphPen.py
Python
12,205
0.95
0.223881
0.067138
awesome-app
980
2025-03-26T18:25:41.774898
Apache-2.0
false
c2646261e1154ef2f7356db4f171e138
from fontTools.pens.basePen import BasePen\n\n\n__all__ = ["WxPen"]\n\n\nclass WxPen(BasePen):\n def __init__(self, glyphSet, path=None):\n BasePen.__init__(self, glyphSet)\n if path is None:\n import wx\n\n path = wx.GraphicsRenderer.GetDefaultRenderer().CreatePath()\n sel...
.venv\Lib\site-packages\fontTools\pens\wxPen.py
wxPen.py
Python
709
0.85
0.275862
0
awesome-app
854
2024-03-11T14:47:22.545368
GPL-3.0
false
93f7b33ec4b094c8dd65fc7110f5807d
"""Empty __init__.py file to signal Python this directory is a package."""\n
.venv\Lib\site-packages\fontTools\pens\__init__.py
__init__.py
Python
76
0.5
0
0
python-kit
581
2024-07-26T21:20:38.666037
Apache-2.0
false
6d412be7408e8f32685229b58fb23583
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\areaPen.cpython-313.pyc
areaPen.cpython-313.pyc
Other
2,956
0.8
0
0
python-kit
119
2024-05-16T06:36:21.987560
GPL-3.0
false
4926f2e815fe27eed9fcb4e7e70dbe7f
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\basePen.cpython-313.pyc
basePen.cpython-313.pyc
Other
19,913
0.95
0.109804
0
react-lib
428
2025-05-21T16:49:26.180866
GPL-3.0
false
a3fcfd497e8202b8f94690510566e716
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\boundsPen.cpython-313.pyc
boundsPen.cpython-313.pyc
Other
4,712
0.8
0.025641
0
vue-tools
765
2023-08-07T19:01:48.269307
BSD-3-Clause
false
fded4fce6b98dbca49a3ed9dcce74baf
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\cairoPen.cpython-313.pyc
cairoPen.cpython-313.pyc
Other
1,640
0.7
0
0
python-kit
709
2024-08-20T14:17:55.453063
MIT
false
0457f3caac58fcca1fb07637c3efd695
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\cocoaPen.cpython-313.pyc
cocoaPen.cpython-313.pyc
Other
1,717
0.8
0
0
python-kit
366
2023-12-12T06:00:24.684871
GPL-3.0
false
dabafd9e83ed414a0e53c12187ebe90e
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\cu2quPen.cpython-313.pyc
cu2quPen.cpython-313.pyc
Other
15,000
0.95
0.053333
0.014925
awesome-app
753
2024-04-26T19:33:32.215227
GPL-3.0
false
c717ccf8bee1e775242ee3b283241f0f
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\explicitClosingLinePen.cpython-313.pyc
explicitClosingLinePen.cpython-313.pyc
Other
3,464
0.95
0.011236
0
react-lib
374
2024-10-04T16:45:31.511165
MIT
false
f48b4b7234026712a7b8bac52942c660
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\filterPen.cpython-313.pyc
filterPen.cpython-313.pyc
Other
10,676
0.95
0.039216
0
vue-tools
546
2024-12-23T11:31:59.214459
MIT
false
6ddc1a7cdfae4d9ea0e22f594d92dc57
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\freetypePen.cpython-313.pyc
freetypePen.cpython-313.pyc
Other
22,410
0.95
0.06469
0.009091
react-lib
762
2024-12-27T12:14:56.168736
Apache-2.0
false
56e9756cf0d1ad4f225e9ba7f4cd0c5d
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\hashPointPen.cpython-313.pyc
hashPointPen.cpython-313.pyc
Other
4,795
0.95
0.098592
0
vue-tools
899
2024-07-26T08:52:51.827420
GPL-3.0
false
9c25a2175fb5b06c634b2f6d99080ac2
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\momentsPen.cpython-313.pyc
momentsPen.cpython-313.pyc
Other
39,217
0.8
0
0.008681
python-kit
399
2024-08-26T12:59:24.457735
GPL-3.0
false
8265dc71e4ab64c6d099b256f6181e96
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\perimeterPen.cpython-313.pyc
perimeterPen.cpython-313.pyc
Other
4,060
0.8
0
0
react-lib
450
2025-01-10T06:57:30.198368
Apache-2.0
false
ef7a89af8cd56c3d06f3f7fb801d4cd3
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\pointInsidePen.cpython-313.pyc
pointInsidePen.cpython-313.pyc
Other
7,058
0.95
0.06383
0
awesome-app
852
2024-01-10T21:06:15.062910
MIT
false
7b0e796a589af023dce3b1b23e0c487c
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\pointPen.cpython-313.pyc
pointPen.cpython-313.pyc
Other
23,776
0.95
0.069565
0
awesome-app
46
2023-07-24T23:12:56.541435
GPL-3.0
false
cd598cace752b9f265f8ba79ace666d0
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\qtPen.cpython-313.pyc
qtPen.cpython-313.pyc
Other
1,863
0.8
0
0
python-kit
155
2024-10-11T16:54:46.636474
Apache-2.0
false
8b6d22b3fa7f2fd720ede97cefd2372c
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\qu2cuPen.cpython-313.pyc
qu2cuPen.cpython-313.pyc
Other
4,058
0.8
0.021739
0
awesome-app
651
2025-06-20T07:50:40.603540
BSD-3-Clause
false
80986ae425b176aa2e0cdc88f8497280
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\quartzPen.cpython-313.pyc
quartzPen.cpython-313.pyc
Other
2,500
0.8
0
0
react-lib
11
2025-03-31T09:42:22.958072
GPL-3.0
false
ea83eb5e87f9d476d35b97ff01f9abba
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\recordingPen.cpython-313.pyc
recordingPen.cpython-313.pyc
Other
14,704
0.95
0.084615
0
python-kit
608
2024-04-10T14:46:59.508302
Apache-2.0
false
bdbd9ff45035588bb467db12aa1277cd
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\reportLabPen.cpython-313.pyc
reportLabPen.cpython-313.pyc
Other
3,605
0.8
0.027778
0
python-kit
184
2025-03-27T18:05:24.323068
BSD-3-Clause
false
903846540cccad9bcef9a92cb717250b
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\reverseContourPen.cpython-313.pyc
reverseContourPen.cpython-313.pyc
Other
3,475
0.8
0
0
react-lib
37
2025-01-21T22:41:18.899943
GPL-3.0
false
d204b5538257691cc71c48162efb9011
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\roundingPen.cpython-313.pyc
roundingPen.cpython-313.pyc
Other
6,616
0.95
0.019048
0
react-lib
125
2023-09-15T02:57:38.592689
GPL-3.0
false
2a75da277e9b6fab0e29681f5d097a7a
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\statisticsPen.cpython-313.pyc
statisticsPen.cpython-313.pyc
Other
13,667
0.8
0.024691
0.012739
node-utils
871
2023-09-30T10:19:01.268511
GPL-3.0
false
8c2c2d97251cb1469afbdf8be41a917c
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\svgPathPen.cpython-313.pyc
svgPathPen.cpython-313.pyc
Other
11,154
0.95
0
0.033816
python-kit
541
2024-04-02T11:06:39.722641
Apache-2.0
false
a4d8d7a39813e533e145e1e92d66483b
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\t2CharStringPen.cpython-313.pyc
t2CharStringPen.cpython-313.pyc
Other
4,728
0.8
0
0
awesome-app
17
2023-12-16T22:47:19.952931
BSD-3-Clause
false
b9e5af354f49d0c2492915fa808eefb5
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\teePen.cpython-313.pyc
teePen.cpython-313.pyc
Other
2,897
0.8
0
0
node-utils
771
2025-06-19T03:51:53.283390
MIT
false
de8b1c01a12677a073c1255ca4e17ba2
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\transformPen.cpython-313.pyc
transformPen.cpython-313.pyc
Other
6,250
0.95
0
0
react-lib
608
2024-02-01T02:33:45.067958
Apache-2.0
false
a6b8692abbc000554fc24d63ce4cd2d5
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\ttGlyphPen.cpython-313.pyc
ttGlyphPen.cpython-313.pyc
Other
16,159
0.8
0.060606
0.006803
node-utils
264
2024-09-07T07:21:57.823980
BSD-3-Clause
false
b609a7eccee53b7dee7fef2f3ec674f6
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\wxPen.cpython-313.pyc
wxPen.cpython-313.pyc
Other
1,998
0.8
0
0
react-lib
426
2024-03-27T14:18:55.972927
MIT
false
5e8dfa6b8a950befafbe44a3c52f2f9e
\n\n
.venv\Lib\site-packages\fontTools\pens\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
272
0.7
0
0
react-lib
982
2024-12-18T09:34:20.478209
MIT
false
19875c298531ca66d0e24e5df32bb30f
"""Benchmark the qu2cu algorithm performance."""\n\nfrom .qu2cu import *\nfrom fontTools.cu2qu import curve_to_quadratic\nimport random\nimport timeit\n\nMAX_ERR = 0.5\nNUM_CURVES = 5\n\n\ndef generate_curves(n):\n points = [\n tuple(float(random.randint(0, 2048)) for coord in range(2))\n for point in ...
.venv\Lib\site-packages\fontTools\qu2cu\benchmark.py
benchmark.py
Python
1,456
0.85
0.375
0
awesome-app
413
2024-12-27T09:50:34.814046
BSD-3-Clause
false
940c5620eb989830f817363530fd7f2a
import os\nimport argparse\nimport logging\nfrom fontTools.misc.cliTools import makeOutputFileName\nfrom fontTools.ttLib import TTFont\nfrom fontTools.pens.qu2cuPen import Qu2CuPen\nfrom fontTools.pens.ttGlyphPen import TTGlyphPen\nimport fontTools\n\n\nlogger = logging.getLogger("fontTools.qu2cu")\n\n\ndef _font_to_cu...
.venv\Lib\site-packages\fontTools\qu2cu\cli.py
cli.py
Python
3,839
0.85
0.112
0
react-lib
342
2023-08-16T10:17:41.254884
Apache-2.0
false
d8a4098eb054621ac47c9a98e32b9f5a
MZ
.venv\Lib\site-packages\fontTools\qu2cu\qu2cu.cp313-win_amd64.pyd
qu2cu.cp313-win_amd64.pyd
Other
107,008
0.75
0.017931
0.005658
node-utils
81
2025-02-14T06:09:47.499943
BSD-3-Clause
false
bbd31fe028e668a4df4561d36949ede6
# cython: language_level=3\n# distutils: define_macros=CYTHON_TRACE_NOGIL=1\n\n# Copyright 2023 Google Inc. All Rights Reserved.\n# Copyright 2023 Behdad Esfahbod. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the Licens...
.venv\Lib\site-packages\fontTools\qu2cu\qu2cu.py
qu2cu.py
Python
12,693
0.95
0.138272
0.118343
react-lib
897
2023-08-04T21:53:02.141490
BSD-3-Clause
false
62c7b683a540eb30122932142c4b9a1d
# Copyright 2016 Google Inc. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable ...
.venv\Lib\site-packages\fontTools\qu2cu\__init__.py
__init__.py
Python
633
0.95
0.066667
0.928571
node-utils
22
2024-05-13T20:02:59.187776
BSD-3-Clause
false
48af4e7dae0e258f595c5011d74d5718
import sys\n\nfrom .cli import _main as main\n\n\nif __name__ == "__main__":\n sys.exit(main())\n
.venv\Lib\site-packages\fontTools\qu2cu\__main__.py
__main__.py
Python
100
0.65
0.142857
0
python-kit
839
2024-09-05T00:53:52.122522
GPL-3.0
false
af11a743891a1118951ee8f584495ea5
\n\n
.venv\Lib\site-packages\fontTools\qu2cu\__pycache__\benchmark.cpython-313.pyc
benchmark.cpython-313.pyc
Other
2,922
0.95
0.03125
0
awesome-app
833
2025-03-13T16:52:45.833339
MIT
false
3c4d4deeeb50b789e3efb0d74c4bc6cd
\n\n
.venv\Lib\site-packages\fontTools\qu2cu\__pycache__\cli.cpython-313.pyc
cli.cpython-313.pyc
Other
5,267
0.8
0.032787
0
node-utils
856
2024-03-25T16:00:26.275471
GPL-3.0
false
7ba614a0d3916946654e71466e8bf743
\n\n
.venv\Lib\site-packages\fontTools\qu2cu\__pycache__\qu2cu.cpython-313.pyc
qu2cu.cpython-313.pyc
Other
14,329
0.95
0.021898
0.032129
vue-tools
859
2024-06-21T06:34:03.590401
BSD-3-Clause
false
099f65e94a531ac535e91a1c70126737
\n\n
.venv\Lib\site-packages\fontTools\qu2cu\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
219
0.7
0
0
node-utils
46
2025-06-18T03:23:14.771350
BSD-3-Clause
false
63fabfdf06a133d871e27f47755057ff
\n\n
.venv\Lib\site-packages\fontTools\qu2cu\__pycache__\__main__.cpython-313.pyc
__main__.cpython-313.pyc
Other
368
0.7
0
0
node-utils
754
2023-11-21T21:04:07.463493
GPL-3.0
false
4e70908bd38e374a1a3c81bd3875e41c
from fontTools.misc import psCharStrings\nfrom fontTools import ttLib\nfrom fontTools.pens.basePen import NullPen\nfrom fontTools.misc.roundTools import otRound\nfrom fontTools.misc.loggingTools import deprecateFunction\nfrom fontTools.subset.util import _add_method, _uniq_sort\n\n\nclass _ClosureGlyphsT2Decompiler(psC...
.venv\Lib\site-packages\fontTools\subset\cff.py
cff.py
Python
6,329
0.95
0.266304
0.066225
awesome-app
498
2024-05-16T19:42:46.354845
GPL-3.0
false
7fa208d9436f5fa049321c7595c73507
"""Private utility methods used by the subset modules"""\n\n\ndef _add_method(*clazzes):\n """Returns a decorator function that adds a new method to one or\n more classes."""\n\n def wrapper(method):\n done = []\n for clazz in clazzes:\n if clazz in done:\n continue # S...
.venv\Lib\site-packages\fontTools\subset\util.py
util.py
Python
779
0.95
0.32
0
vue-tools
184
2024-03-11T13:20:03.276595
GPL-3.0
false
eb671ccb1df0cb6689f5c888cdae055e
import sys\nfrom fontTools.subset import main\n\n\nif __name__ == "__main__":\n sys.exit(main())\n
.venv\Lib\site-packages\fontTools\subset\__main__.py
__main__.py
Python
101
0.65
0.166667
0
node-utils
126
2024-01-29T16:41:36.755879
MIT
false
8ec07662e78db18470c51db67908a6bc
\n\n
.venv\Lib\site-packages\fontTools\subset\__pycache__\cff.cpython-313.pyc
cff.cpython-313.pyc
Other
9,250
0.8
0
0.018868
python-kit
972
2024-07-01T18:55:28.299771
GPL-3.0
false
6ca1a88e5d73f9931399d8210dfeb154
\n\n
.venv\Lib\site-packages\fontTools\subset\__pycache__\svg.cpython-313.pyc
svg.cpython-313.pyc
Other
9,515
0.95
0
0
awesome-app
618
2023-07-28T19:04:59.472425
GPL-3.0
false
0abe14673350211906c4aaa807214df4
\n\n
.venv\Lib\site-packages\fontTools\subset\__pycache__\util.cpython-313.pyc
util.cpython-313.pyc
Other
1,305
0.95
0.25
0
vue-tools
662
2025-06-07T07:01:28.922943
GPL-3.0
false
265e5100872b18d386d18bda917a10ff
\n\n
.venv\Lib\site-packages\fontTools\subset\__pycache__\__main__.cpython-313.pyc
__main__.cpython-313.pyc
Other
370
0.7
0
0
vue-tools
525
2024-12-12T21:36:22.310414
BSD-3-Clause
false
48bda29b537aeb3f6b016069c2b9c4aa
from .path import SVGPath, parse_path\n\n__all__ = ["SVGPath", "parse_path"]\n
.venv\Lib\site-packages\fontTools\svgLib\__init__.py
__init__.py
Python
78
0.65
0
0
python-kit
909
2025-02-26T13:28:56.821865
GPL-3.0
false
a76d5989b122770b14cd9b282683f66f
"""Convert SVG Path's elliptical arcs to Bezier curves.\n\nThe code is mostly adapted from Blink's SVGPathNormalizer::DecomposeArcToCubic\nhttps://github.com/chromium/chromium/blob/93831f2/third_party/\nblink/renderer/core/svg/svg_path_parser.cc#L169-L278\n"""\n\nfrom fontTools.misc.transform import Identity, Scale\nfr...
.venv\Lib\site-packages\fontTools\svgLib\path\arc.py
arc.py
Python
5,966
0.95
0.116883
0.134454
vue-tools
789
2024-01-31T05:27:37.642204
BSD-3-Clause
false
db60b84acd303d6dc1aa908d669c850a
# SVG Path specification parser.\n# This is an adaptation from 'svg.path' by Lennart Regebro (@regebro),\n# modified so that the parser takes a FontTools Pen object instead of\n# returning a list of svg.path Path objects.\n# The original code can be found at:\n# https://github.com/regebro/svg.path/blob/4f9b6e3/src/svg/...
.venv\Lib\site-packages\fontTools\svgLib\path\parser.py
parser.py
Python
11,110
0.95
0.13354
0.178707
awesome-app
617
2025-02-13T04:30:07.967317
GPL-3.0
false
95894db7cf36edd939f7fbbec88c04a9
from fontTools.pens.transformPen import TransformPen\nfrom fontTools.misc import etree\nfrom fontTools.misc.textTools import tostr\nfrom .parser import parse_path\nfrom .shapes import PathBuilder\n\n\n__all__ = [tostr(s) for s in ("SVGPath", "parse_path")]\n\n\nclass SVGPath(object):\n """Parse SVG ``path`` elements...
.venv\Lib\site-packages\fontTools\svgLib\path\__init__.py
__init__.py
Python
2,061
0.95
0.169231
0.019608
python-kit
939
2023-12-23T15:55:39.735165
Apache-2.0
false
0dac4625bb1542f581e28ab740185bf7
\n\n
.venv\Lib\site-packages\fontTools\svgLib\path\__pycache__\arc.cpython-313.pyc
arc.cpython-313.pyc
Other
6,667
0.8
0
0
vue-tools
704
2025-06-06T17:51:40.462147
MIT
false
f1d3632a993abf1aef44dedeec8882cc
\n\n
.venv\Lib\site-packages\fontTools\svgLib\path\__pycache__\parser.cpython-313.pyc
parser.cpython-313.pyc
Other
9,696
0.8
0.00578
0.006211
awesome-app
641
2024-08-04T14:22:44.966548
Apache-2.0
false
a4f651d2c9203edf09627397aec3e034
\n\n
.venv\Lib\site-packages\fontTools\svgLib\path\__pycache__\shapes.cpython-313.pyc
shapes.cpython-313.pyc
Other
10,863
0.8
0
0
awesome-app
533
2025-06-20T11:39:31.047974
Apache-2.0
false
2c54158b9e47744d4761aebd7b92af48
\n\n
.venv\Lib\site-packages\fontTools\svgLib\path\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
2,935
0.95
0.021739
0
react-lib
445
2025-06-28T06:55:41.574185
MIT
false
cc5ee27efa56f4569ce5f20bea352434
\n\n
.venv\Lib\site-packages\fontTools\svgLib\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
288
0.8
0
0.25
python-kit
969
2024-03-12T23:55:04.922996
MIT
false
e0cf22b949e7462e784895796675f52d
\n\n
.venv\Lib\site-packages\fontTools\t1Lib\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
27,030
0.95
0.028754
0.003425
awesome-app
192
2023-09-17T06:59:40.686314
GPL-3.0
false
26ad7f4b21876432bab8468f3fd7d7cc
"""ttLib.macUtils.py -- Various Mac-specific stuff."""\n\nfrom io import BytesIO\nfrom fontTools.misc.macRes import ResourceReader, ResourceError\n\n\ndef getSFNTResIndices(path):\n """Determine whether a file has a 'sfnt' resource fork or not."""\n try:\n reader = ResourceReader(path)\n indices = r...
.venv\Lib\site-packages\fontTools\ttLib\macUtils.py
macUtils.py
Python
1,791
0.85
0.203704
0
node-utils
771
2025-05-27T17:08:47.018114
BSD-3-Clause
false
0d36179b51c257797bc9ef1921ebeab4
""" Simplify TrueType glyphs by merging overlapping contours/components.\n\nRequires https://github.com/fonttools/skia-pathops\n"""\n\nimport itertools\nimport logging\nfrom typing import Callable, Iterable, Optional, Mapping\n\nfrom fontTools.cffLib import CFFFontSet\nfrom fontTools.ttLib import ttFont\nfrom fontTools...
.venv\Lib\site-packages\fontTools\ttLib\removeOverlaps.py
removeOverlaps.py
Python
13,005
0.95
0.178117
0.083851
react-lib
218
2024-06-24T14:03:42.557256
Apache-2.0
false
2e5eecc6d96073420332e904dd449547
"""Change the units-per-EM of a font.\n\nAAT and Graphite tables are not supported. CFF/CFF2 fonts\nare de-subroutinized."""\n\nfrom fontTools.ttLib.ttVisitor import TTVisitor\nimport fontTools.ttLib as ttLib\nimport fontTools.ttLib.tables.otBase as otBase\nimport fontTools.ttLib.tables.otTables as otTables\nfrom fontT...
.venv\Lib\site-packages\fontTools\ttLib\scaleUpem.py
scaleUpem.py
Python
15,054
0.95
0.176606
0.027855
vue-tools
542
2025-05-17T23:35:47.337596
GPL-3.0
false
13e7134d6df6bd53ab9bfe61b67f7d97
"""ttLib/sfnt.py -- low-level module to deal with the sfnt file format.\n\nDefines two public classes:\n\n- SFNTReader\n- SFNTWriter\n\n(Normally you don't have to use these classes explicitly; they are\nused automatically by ttLib.TTFont.)\n\nThe reading and writing of sfnt files is separated in two distinct\nclasses,...
.venv\Lib\site-packages\fontTools\ttLib\sfnt.py
sfnt.py
Python
23,494
0.95
0.172205
0.079855
react-lib
400
2023-11-30T18:10:37.546623
GPL-3.0
false
aa572d303086f7a97c7e55667d15181c
#\n# 'post' table formats 1.0 and 2.0 rely on this list of "standard"\n# glyphs.\n#\n# My list is correct according to the Apple documentation for the 'post' table:\n# https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6post.html\n# (However, it seems that TTFdump (from MS) and FontLab disagree, at\n...
.venv\Lib\site-packages\fontTools\ttLib\standardGlyphOrder.py
standardGlyphOrder.py
Python
6,056
0.8
0.00369
0.037037
node-utils
562
2025-05-16T01:30:25.016595
GPL-3.0
false
8cd0375b16ca86f4b2a073a096d5a82b
from fontTools.ttLib.ttFont import TTFont\nfrom fontTools.ttLib.sfnt import readTTCHeader, writeTTCHeader\nfrom io import BytesIO\nimport struct\nimport logging\n\nlog = logging.getLogger(__name__)\n\n\nclass TTCollection(object):\n """Object representing a TrueType Collection / OpenType Collection.\n The main AP...
.venv\Lib\site-packages\fontTools\ttLib\ttCollection.py
ttCollection.py
Python
4,088
0.95
0.24
0.073684
node-utils
953
2024-08-23T02:01:52.953580
MIT
false
c70ccfd250d876f8fe8e7e244743b70a
"""GlyphSets returned by a TTFont."""\n\nfrom abc import ABC, abstractmethod\nfrom collections.abc import Mapping\nfrom contextlib import contextmanager\nfrom copy import copy, deepcopy\nfrom types import SimpleNamespace\nfrom fontTools.misc.vector import Vector\nfrom fontTools.misc.fixedTools import otRound, fixedToFl...
.venv\Lib\site-packages\fontTools\ttLib\ttGlyphSet.py
ttGlyphSet.py
Python
17,966
0.95
0.212245
0.02439
vue-tools
693
2025-03-07T19:25:32.139769
BSD-3-Clause
false
29ed445b41f00cb0f29350a62e41c633
"""Specialization of fontTools.misc.visitor to work with TTFont."""\n\nfrom fontTools.misc.visitor import Visitor\nfrom fontTools.ttLib import TTFont\n\n\nclass TTVisitor(Visitor):\n def visitAttr(self, obj, attr, value, *args, **kwargs):\n if isinstance(value, TTFont):\n return False\n supe...
.venv\Lib\site-packages\fontTools\ttLib\ttVisitor.py
ttVisitor.py
Python
1,057
0.95
0.28125
0.16
awesome-app
689
2025-02-19T07:54:11.551334
GPL-3.0
false
b101ae2c3689ba03106ae3bb869ca0a3
"""fontTools.ttLib -- a package for dealing with TrueType fonts."""\n\nfrom fontTools.config import OPTIONS\nfrom fontTools.misc.loggingTools import deprecateFunction\nimport logging\n\n\nlog = logging.getLogger(__name__)\n\n\nOPTIMIZE_FONT_SPEED = OPTIONS["fontTools.ttLib:OPTIMIZE_FONT_SPEED"]\n\n\nclass TTLibError(Ex...
.venv\Lib\site-packages\fontTools\ttLib\__init__.py
__init__.py
Python
691
0.85
0.133333
0
vue-tools
425
2023-09-07T15:49:35.874577
MIT
false
c82ad43d2375a7729162726b6f1a0dfb
import sys\nfrom fontTools.ttLib import OPTIMIZE_FONT_SPEED, TTLibError, TTLibFileIsCollectionError\nfrom fontTools.ttLib.ttFont import *\nfrom fontTools.ttLib.ttCollection import TTCollection\n\n\ndef main(args=None):\n """Open/save fonts with TTFont() or TTCollection()\n\n ./fonttools ttLib [-oFILE] [-yNUMBER...
.venv\Lib\site-packages\fontTools\ttLib\__main__.py
__main__.py
Python
4,881
0.95
0.128378
0
python-kit
301
2023-12-31T20:02:59.922881
MIT
false
d9550f6e6f427eb2f9ed36d6a51d8625
from fontTools.misc.textTools import strjoin, tobytes, tostr\nfrom . import DefaultTable\n\n\nclass asciiTable(DefaultTable.DefaultTable):\n def toXML(self, writer, ttFont):\n data = tostr(self.data)\n # removing null bytes. XXX needed??\n data = data.split("\0")\n data = strjoin(data)\n ...
.venv\Lib\site-packages\fontTools\ttLib\tables\asciiTable.py
asciiTable.py
Python
657
0.95
0.15
0.058824
awesome-app
527
2023-08-10T22:05:50.028447
Apache-2.0
false
3e8132d67a2dae1e0f4089316c91b96d
from fontTools.misc.textTools import Tag\nfrom fontTools.ttLib import getClassTag\n\n\nclass DefaultTable(object):\n dependencies = []\n\n def __init__(self, tag=None):\n if tag is None:\n tag = getClassTag(self.__class__)\n self.tableTag = Tag(tag)\n\n def decompile(self, data, ttFont...
.venv\Lib\site-packages\fontTools\ttLib\tables\DefaultTable.py
DefaultTable.py
Python
1,536
0.85
0.285714
0
vue-tools
245
2025-04-28T06:37:10.842803
GPL-3.0
false
eb082b80bf532dab11e9edb8ccd54632
import json\nfrom textwrap import indent\n\nfrom . import DefaultTable\nfrom fontTools.misc.textTools import tostr\n\n\nclass table_D__e_b_g(DefaultTable.DefaultTable):\n def __init__(self, tag=None):\n DefaultTable.DefaultTable.__init__(self, tag)\n self.data = {}\n\n def decompile(self, data, ttFo...
.venv\Lib\site-packages\fontTools\ttLib\tables\D__e_b_g.py
D__e_b_g.py
Python
1,169
0.95
0.2
0.074074
vue-tools
420
2023-08-27T08:15:54.304295
MIT
false
9ec6cbe01e7f541df59834453eb28a43