This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TtTable: prep | |
| PUSHW_1 | |
| 511 | |
| SCANCTRL | |
| PUSHB_1 | |
| 4 | |
| SCANTYPE | |
| EndTTInstrs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env fontforge | |
| import fontforge, psMat | |
| def decomposeNestedRefs(font): | |
| """Decomposes nested references into simple unnested ones within a font. | |
| Nested references are known to cause problems in certain environments. | |
| This function recursively decomposes such references into single-level ones.""" | |
| while True: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <language name="Opentype feature file" section="Other" version="1.00" extensions="*.fea" kateversion="3.9"> | |
| <highlighting> | |
| <list name="keywords"> | |
| <item>await</item> | |
| <item>anchor</item> | |
| <item>anchorDef</item> | |
| <item>anon</item> | |
| <item>anonymous</item> | |
| <item>by</item> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <NotepadPlus> | |
| <UserLang name="Glyph Bitmap Distribution Format" ext="bdf" udlVersion="2.1"> | |
| <Settings> | |
| <Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> | |
| <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
| </Settings> | |
| <KeywordLists> | |
| <Keywords name="Comments"></Keywords> | |
| <Keywords name="Numbers, prefix1"></Keywords> | |
| <Keywords name="Numbers, prefix2"></Keywords> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <language name="Spline Font Database" section="Other" version="1.10" extensions="*.sfd;*.glyph;font.props;*.bitmap;strike.props" kateversion="3.9" mimetype="application/vnd.font-fontforge-sfd"> | |
| <highlighting> | |
| <contexts> | |
| <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> | |
| <WordDetect String="SplineFontDB:" context="#stay" firstNonSpace="true" attribute="Keyword" beginRegion="SFD"/> | |
| <WordDetect String="EndSplineFont" context="#stay" firstNonSpace="true" attribute="Keyword" endRegion="SFD"/> | |
| <WordDetect String="BeginPrivate:" context="#stay" firstNonSpace="true" attribute="Keyword" beginRegion="Private"/> | |
| <WordDetect String="EndPrivate" context="#stay" firstNonSpace="true" attribute="Keyword" endRegion="Private"/> | |
| <WordDetect String="BeginChars:" context="#stay" firstNonSpace="true" attribute="Keyword" beginRegion="Chars"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <language name="Glyph Bitmap Distribution Format" section="Other" version="1.00" extensions="*.bdf" kateversion="3.9" mimetype="application/x-font-bdf"> | |
| <highlighting> | |
| <list name="keywords"> | |
| <item> COMMENT </item> | |
| <item> CONTENTVERSION </item> | |
| <item> SIZE </item> | |
| <item> FONTBOUNDINGBOX </item> | |
| <item> METRICSSET </item> | |
| <item> SWIDTH </item> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <language name="FontForge script" section="Scripts" version="1.00" extensions="*.pe" kateversion="3.9"> | |
| <highlighting> | |
| <list name="block-opening keywords"> | |
| <item> if </item> | |
| <item> while </item> | |
| <item> foreach </item> | |
| </list> | |
| <list name="block-separating keywords"> | |
| <item> elseif </item> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- gitup.py.orig 2023-08-19 22:19:24.904702800 +0900 | |
| +++ gitup.py 2024-06-08 23:33:47.171299400 +0900 | |
| @@ -33,6 +33,7 @@ | |
| import colorama | |
| from git import Repo, GitCmdObjectDB | |
| from termcolor import colored | |
| +from git.exc import NoSuchPathError | |
| # PyGitUp libs | |
| from PyGitUp.utils import execute, uniq, find |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \ This implements Euclidean algorithm in Forth | |
| : gcd ( X Y ) | |
| 2dup <= if swap ( Y X ) then | |
| ( X Y ) | |
| begin | |
| tuck ( Y X Y ) | |
| mod ( Y Z ) | |
| dup ( Y Z Z ) | |
| 0= until ( Y Z ) | |
| ( Y 0 ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdexcept> | |
| template<typename T> T modulo(T dividend, T divisor) { | |
| if (divisor == static_cast<T>(0)) // division by zero is not allowed | |
| throw std::domain_error("division by zero"); | |
| if (dividend < static_cast<T>(0)) // dividend is negative | |
| return -((-dividend) % (-divisor)); | |
| else // dividend is non-negative | |
| return dividend % divisor; | |
| } |
NewerOlder