-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ken Lunde
committed
Jun 12, 2018
0 parents
commit a06b3bc
Showing
19 changed files
with
424 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# The following command line builds the OpenType/CFF font without an | ||
# SVG table: | ||
|
||
makeotf -f cidfont.ps -omitMacNames -ff features -fi cidfontinfo -mf FontMenuNameDB -o TallyMarks-Regular_NoSVG.otf -r -cs 1 -ch UniTallyMarks-UTF32-H | ||
|
||
# The first method for adding the SVG table is via the following | ||
# command lines, the second of which deals with one-per-glyph SVG | ||
# files in the "SVGs" directory: | ||
|
||
cp TallyMarks-Regular_NoSVG.otf TallyMarks-Regular.otf | ||
python addSVGtable.py -s SVGs TallyMarks-Regular.otf | ||
|
||
# The second method for adding the SVG table is via the following | ||
# command line that deals with an XML form of the entire SVG table: | ||
|
||
ttx -m TallyMarks-Regular_NoSVG.otf -o TallyMarks-Regular.otf SVG.ttx | ||
|
||
# EOF |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[TallyMarks-Regular] | ||
f=3,1,0x411,\753B\7DDA\6CD5 | ||
s=3,1,0x411,Regular | ||
l=3,1,0x411,\753B\7DDA\6CD5 | ||
f=Tally Marks | ||
s=Regular | ||
l=Tally Marks |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
This Font Software is licensed under the SIL Open Font License, | ||
Version 1.1. | ||
|
||
This license is copied below, and is also available with a FAQ at: | ||
http://scripts.sil.org/OFL | ||
|
||
----------------------------------------------------------- | ||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 | ||
----------------------------------------------------------- | ||
|
||
PREAMBLE | ||
The goals of the Open Font License (OFL) are to stimulate worldwide | ||
development of collaborative font projects, to support the font | ||
creation efforts of academic and linguistic communities, and to | ||
provide a free and open framework in which fonts may be shared and | ||
improved in partnership with others. | ||
|
||
The OFL allows the licensed fonts to be used, studied, modified and | ||
redistributed freely as long as they are not sold by themselves. The | ||
fonts, including any derivative works, can be bundled, embedded, | ||
redistributed and/or sold with any software provided that any reserved | ||
names are not used by derivative works. The fonts and derivatives, | ||
however, cannot be released under any other type of license. The | ||
requirement for fonts to remain under this license does not apply to | ||
any document created using the fonts or their derivatives. | ||
|
||
DEFINITIONS | ||
"Font Software" refers to the set of files released by the Copyright | ||
Holder(s) under this license and clearly marked as such. This may | ||
include source files, build scripts and documentation. | ||
|
||
"Reserved Font Name" refers to any names specified as such after the | ||
copyright statement(s). | ||
|
||
"Original Version" refers to the collection of Font Software | ||
components as distributed by the Copyright Holder(s). | ||
|
||
"Modified Version" refers to any derivative made by adding to, | ||
deleting, or substituting -- in part or in whole -- any of the | ||
components of the Original Version, by changing formats or by porting | ||
the Font Software to a new environment. | ||
|
||
"Author" refers to any designer, engineer, programmer, technical | ||
writer or other person who contributed to the Font Software. | ||
|
||
PERMISSION & CONDITIONS | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of the Font Software, to use, study, copy, merge, embed, | ||
modify, redistribute, and sell modified and unmodified copies of the | ||
Font Software, subject to the following conditions: | ||
|
||
1) Neither the Font Software nor any of its individual components, in | ||
Original or Modified Versions, may be sold by itself. | ||
|
||
2) Original or Modified Versions of the Font Software may be bundled, | ||
redistributed and/or sold with any software, provided that each copy | ||
contains the above copyright notice and this license. These can be | ||
included either as stand-alone text files, human-readable headers or | ||
in the appropriate machine-readable metadata fields within text or | ||
binary files as long as those fields can be easily viewed by the user. | ||
|
||
3) No Modified Version of the Font Software may use the Reserved Font | ||
Name(s) unless explicit written permission is granted by the | ||
corresponding Copyright Holder. This restriction only applies to the | ||
primary font name as presented to the users. | ||
|
||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font | ||
Software shall not be used to promote, endorse or advertise any | ||
Modified Version, except to acknowledge the contribution(s) of the | ||
Copyright Holder(s) and the Author(s) or with their explicit written | ||
permission. | ||
|
||
5) The Font Software, modified or unmodified, in part or in whole, | ||
must be distributed entirely under this license, and must not be | ||
distributed under any other license. The requirement for fonts to | ||
remain under this license does not apply to any document created using | ||
the Font Software. | ||
|
||
TERMINATION | ||
This license becomes null and void if any of the above conditions are | ||
not met. | ||
|
||
DISCLAIMER | ||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT | ||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE | ||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL | ||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM | ||
OTHER DEALINGS IN THE FONT SOFTWARE. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Tally Marks | ||
|
||
*Tally Marks* is a special-purpose OpenType font that is based on the Adobe-Identity-0 ROS (*ROS* stands for /Registry, /Ordering, and /Supplement, and refers to the /CIDSystemInfo dictionary entries that define the glyph set name for CID-based character collections). The Adobe-Identity-0 ROS is a special-purpose character collection whose use is not tied to a specific language. | ||
|
||
Tally Marks is an OpenType-SVG font that primary includes glyphs for tally marks. The characters for two tally mark systems were added in [Unicode Version 11.0](https://www.unicode.org/versions/Unicode11.0.0/). One system is ideographic, and includes the following five characters in the [Counting Rod Numerals](https://www.unicode.org/charts/PDF/U1D360.pdf) block: U+1D372 𝍲 IDEOGRAPHIC TALLY MARK ONE, U+1D373 𝍳 IDEOGRAPHIC TALLY MARK TWO, U+1D374 𝍴 IDEOGRAPHIC TALLY MARK THREE, U+1D375 𝍵 IDEOGRAPHIC TALLY MARK FOUR & U+1D376 𝍶 IDEOGRAPHIC TALLY MARK FIVE. The other system is Western, and includes the following two characters in the same block: U+1D377 𝍷 TALLY MARK ONE & U+1D378 𝍸 TALLY MARK FIVE. | ||
|
||
Glyphs for U+0020   SPACE, U+3000   IDEOGRAPHIC SPACE, and U+6B63 正 (confusable with U+1D376 𝍶 IDEOGRAPHIC TALLY MARK FIVE), along with glyphs that represent the digits two through four in the Western tally mark system, are also included. The latter glyphs are accessible in apps that support the '[ccmp](https://docs.microsoft.com/en-us/typography/opentype/spec/features_ae#ccmp)' (*Glyph Composition/Decomposition*) GSUB feature, and sequences of two through five instances of U+1D377 𝍷 TALLY MARK ONE form the digits two through five. Yes, a sequence of five instances of U+1D377 𝍷 TALLY MARK ONE will form the glyph for U+1D378 𝍸 TALLY MARK FIVE. | ||
|
||
In the [latest release](https://github.com/adobe-fonts/tally-marks/releases/latest) of this project you will find the ready-to-install OpenType-SVG font. | ||
|
||
Note that some apps do not yet support OpenType-SVG fonts, in which case the glyphs for the tally marks simply appear in Black&White. If the glyphs for tally marks appear in red (#FF0000), then the app supports OpenType-SVG fonts. The named '[ss01](https://docs.microsoft.com/en-us/typography/opentype/spec/features_pt#tag-ss01---ss20)' (*Stylistic Set 1*: *Black and White*) GSUB feature can be used to explicitly specify the Black&White glyphs in environments that support OpenType-SVG fonts. | ||
|
||
## Font installation instructions | ||
|
||
* [macOS](https://support.apple.com/en-us/HT201749) | ||
* [Windows](https://www.microsoft.com/en-us/Typography/TrueTypeInstall.aspx) | ||
* [Linux/Unix-based systems](https://github.com/adobe-fonts/source-code-pro/issues/17#issuecomment-8967116) | ||
|
||
## Building the font from source | ||
|
||
### Requirements | ||
|
||
To build the binary font file from source, you need to have installed the [Adobe Font Development Kit for OpenType](https://github.com/adobe-type-tools/afdko/) (AFDKO). The AFDKO tools are widely used for font development today, and are part of most font editor applications. | ||
|
||
In order to add the [SVG](https://docs.microsoft.com/en-us/typography/opentype/spec/svg) (*Scalable Vector Graphics*) table, you will need to either install [*addSVGtable.py*](https://github.com/adobe-type-tools/opentype-svg) or [fonttools](https://github.com/fonttools/fonttools), depending on which method you use, both of which are described in the COMMANDS.txt file. | ||
|
||
### Building the font | ||
|
||
In this repository, all necessary files are in place for building the OpenType-SVG font, and the COMMANDS.txt file provides the command lines that are used. | ||
|
||
## Getting Involved | ||
|
||
Send suggestions for changes to the Tally Marks project maintainer, [Dr. Ken Lunde](mailto:lunde@adobe.com?subject=[GitHub]%20Tally%20Marks), for consideration. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ttFont sfntVersion="OTTO" ttLibVersion="3.27"> | ||
|
||
<SVG> | ||
|
||
<svgDoc endGlyphID="4" startGlyphID="4"> | ||
<![CDATA[<svg id="glyph4" xmlns="http://www.w3.org/2000/svg"><path d="M913 -696V-760H94V-696Z" fill="#ff0000"/></svg>]]> | ||
</svgDoc> | ||
<svgDoc endGlyphID="5" startGlyphID="5"> | ||
<![CDATA[<svg id="glyph5" xmlns="http://www.w3.org/2000/svg"><path d="M559 -34V-696H913V-760H94V-696H490V-34Z" fill="#ff0000"/></svg>]]> | ||
</svgDoc> | ||
<svgDoc endGlyphID="6" startGlyphID="6"> | ||
<![CDATA[<svg id="glyph6" xmlns="http://www.w3.org/2000/svg"><path d="M559 -34V-356H876V-421H559V-696H913V-760H94V-696H490V-34Z" fill="#ff0000"/></svg>]]> | ||
</svgDoc> | ||
<svgDoc endGlyphID="7" startGlyphID="7"> | ||
<![CDATA[<svg id="glyph7" xmlns="http://www.w3.org/2000/svg"><path d="M262 -34V-508H194V-34ZM559 -34V-356H876V-421H559V-696H913V-760H94V-696H490V-34Z" fill="#ff0000"/></svg>]]> | ||
</svgDoc> | ||
<svgDoc endGlyphID="8" startGlyphID="8"> | ||
<![CDATA[<svg id="glyph8" xmlns="http://www.w3.org/2000/svg"><path d="M559 -34V-356H876V-421H559V-696H913V-760H94V-696H490V-34H262V-508H194V-34H56V31H946V-34Z" fill="#ff0000"/></svg>]]> | ||
</svgDoc> | ||
<svgDoc endGlyphID="9" startGlyphID="9"> | ||
<![CDATA[<svg id="glyph9" xmlns="http://www.w3.org/2000/svg"><path d="M175 0H225V-750H175Z" fill="#ff0000"/></svg>]]> | ||
</svgDoc> | ||
<svgDoc endGlyphID="10" startGlyphID="10"> | ||
<![CDATA[<svg id="glyph10" xmlns="http://www.w3.org/2000/svg"><path d="M175 0H225V-750H175ZM375 0H425V-750H375Z" fill="#ff0000"/></svg>]]> | ||
</svgDoc> | ||
<svgDoc endGlyphID="11" startGlyphID="11"> | ||
<![CDATA[<svg id="glyph11" xmlns="http://www.w3.org/2000/svg"><path d="M175 0H225V-750H175ZM375 0H425V-750H375ZM575 0H625V-750H575Z" fill="#ff0000"/></svg>]]> | ||
</svgDoc> | ||
<svgDoc endGlyphID="12" startGlyphID="12"> | ||
<![CDATA[<svg id="glyph12" xmlns="http://www.w3.org/2000/svg"><path d="M175 0H225V-750H175ZM775 0H825V-750H775ZM375 0H425V-750H375ZM575 0H625V-750H575Z" fill="#ff0000"/></svg>]]> | ||
</svgDoc> | ||
<svgDoc endGlyphID="13" startGlyphID="13"> | ||
<![CDATA[<svg id="glyph13" xmlns="http://www.w3.org/2000/svg"><path d="M934 -596L909 -640L825 -591V-750H775V-563L625 -476V-750H575V-447L425 -360V-750H375V-331L225 -245V-750H175V-216L65 -152L90 -109L175 -158V0H225V-187L375 -273V0H425V-302L575 -389V0H625V-418L775 -504V0H825V-533Z" fill="#ff0000"/></svg>]]> | ||
</svgDoc> | ||
</SVG> | ||
|
||
</ttFont> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
%!PS-Adobe-3.0 Resource-CMap | ||
%%DocumentNeededResources: ProcSet (CIDInit) | ||
%%IncludeResource: ProcSet (CIDInit) | ||
%%BeginResource: CMap (UniTallyMarks-UTF32-H) | ||
%%Title: (UniTallyMarks-UTF32-H Adobe Identity 0) | ||
%%Version: 2.000 | ||
%%Copyright: ----------------------------------------------------------- | ||
%%Copyright: Copyright 1990-2018 Adobe Systems Incorporated. | ||
%%Copyright: All rights reserved. | ||
%%Copyright: | ||
%%Copyright: Redistribution and use in source and binary forms, with or | ||
%%Copyright: without modification, are permitted provided that the | ||
%%Copyright: following conditions are met: | ||
%%Copyright: | ||
%%Copyright: Redistributions of source code must retain the above | ||
%%Copyright: copyright notice, this list of conditions and the following | ||
%%Copyright: disclaimer. | ||
%%Copyright: | ||
%%Copyright: Redistributions in binary form must reproduce the above | ||
%%Copyright: copyright notice, this list of conditions and the following | ||
%%Copyright: disclaimer in the documentation and/or other materials | ||
%%Copyright: provided with the distribution. | ||
%%Copyright: | ||
%%Copyright: Neither the name of Adobe Systems Incorporated nor the names | ||
%%Copyright: of its contributors may be used to endorse or promote | ||
%%Copyright: products derived from this software without specific prior | ||
%%Copyright: written permission. | ||
%%Copyright: | ||
%%Copyright: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
%%Copyright: CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
%%Copyright: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
%%Copyright: MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
%%Copyright: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR | ||
%%Copyright: CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
%%Copyright: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
%%Copyright: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
%%Copyright: LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
%%Copyright: HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
%%Copyright: CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
%%Copyright: OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
%%Copyright: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
%%Copyright: ----------------------------------------------------------- | ||
%%EndComments | ||
|
||
/CIDInit /ProcSet findresource begin | ||
|
||
12 dict begin | ||
|
||
begincmap | ||
|
||
/CIDSystemInfo 3 dict dup begin | ||
/Registry (Adobe) def | ||
/Ordering (Identity) def | ||
/Supplement 0 def | ||
end def | ||
|
||
/CMapName /UniTallyMarks-UTF32-H def | ||
/CMapVersion 2.000 def | ||
/CMapType 1 def | ||
|
||
/WMode 0 def | ||
|
||
1 begincodespacerange | ||
<00000000> <0010FFFF> | ||
endcodespacerange | ||
|
||
4 begincidchar | ||
<00000020> 1 | ||
<00003000> 2 | ||
<00006B63> 3 | ||
<0001d378> 13 | ||
endcidchar | ||
|
||
1 begincidrange | ||
<0001d372> <0001d377> 4 | ||
endcidrange | ||
|
||
endcmap | ||
CMapName currentdict /CMap defineresource pop | ||
end | ||
end | ||
|
||
%%EndResource | ||
%%EOF |
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FontName (TallyMarks-Regular) | ||
FullName (Tally Marks Regular) | ||
FamilyName (Tally Marks) | ||
Weight (Regular) | ||
version (2.000) | ||
Registry (Adobe) | ||
Ordering (Identity) | ||
Supplement 0 | ||
Layout (AI0-TallyMarks) | ||
AdobeCopyright (Copyright 2016-2018 Adobe Systems Incorporated (http://www.adobe.com/).) | ||
Trademark () | ||
FSType 0 | ||
isFixedPitch false | ||
Serif false | ||
IsBoldStyle false | ||
IsItalicStyle false | ||
PreferOS/2TypoMetrics false | ||
IsOS/2WidthWeigthSlopeOnly false | ||
IsOS/2OBLIQUE false | ||
UseOldNameID4 false | ||
LicenseCode ADOBE |
Oops, something went wrong.