pax_global_header 0000666 0000000 0000000 00000000064 14065067713 0014523 g ustar 00root root 0000000 0000000 52 comment=2972a9857a8332c2af86b221799558c177ba9012 Train-master/ 0000775 0000000 0000000 00000000000 14065067713 0013435 5 ustar 00root root 0000000 0000000 Train-master/DESCRIPTION.en_us.html 0000664 0000000 0000000 00000000565 14065067713 0017224 0 ustar 00root root 0000000 0000000
Train is a gothic-style typeface made with an outer and inner line. It is open and vibrant, and its strong first impression makes it suitable for logos and titles. It is distributed under the name "Railway" in Japan by FontWorks.
To contribute to the project, visit github.com/fontworks-fonts/Train
Train-master/OFL.txt 0000775 0000000 0000000 00000010601 14065067713 0014617 0 ustar 00root root 0000000 0000000 Copyright 2020 The Train Project Authors (https://github.com/fontworks-fonts/Train) 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: https://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. Train-master/README-JP.md 0000775 0000000 0000000 00000005104 14065067713 0015226 0 ustar 00root root 0000000 0000000 [English](https://github.com/fontworks-fonts/Train) /[日本語](README-JP.md)  ## トレイン One-Regular 「トレイン」(GoogleFonts提供名称)は、アウトラインの内側と外側の二重のラインで形成されるゴシック系書体です。そのままロゴやタイトルとしても使用できるほど、インパクトがあり、快活でオープンなイメージを与えるデザインです。 (Fontworksがリリースしている書体名称は「レイルウェイ」です。) このフォントについての詳しい情報は[こちら](https://fontworks.co.jp/fontsearch/RailwayStd-B/)をご覧ください。 ### フォントのダウンロード 以下のページより、ビルド済みのTrueTypeフォントをダウンロードできます。 [最終リリース](https://github.com/fontworks-fonts/Train/tree/master/fonts/ttf) ### ソースからのフォントのビルド手順 #### 要件 * [python3](https://www.python.org/) * [fontmake](https://github.com/googlefonts/fontmake/) * [fonttools](https://github.com/fonttools/fonttools/) * [ttfautohint](https://www.freetype.org/ttfautohint/doc/ttfautohint.html) #### フォントのビルド ワーキングディレクトリ(カレントディレクトリ)を「Train」フォルダへ変更し、**build.py**を実行します。 $ python build.py **--autohinting**コマンドラインオプションを指定すると、ttfautohintを使用してヒントを付与します。 $ python build.py --autohinting ### ライセンス * 個人利用・商用利用にかかわらずどなたでも無料でお使いいただけます。 * ゲームやアプリなどへの組み込みやwebフォントとしての利用も可能です。 * このフォントを使用し、派生フォントを作ることもできます。ただし、配布の際はSIL Open Font Licenseに基づいてリリースする必要があります。 * SILライセンスについて詳しくは[SIL Open Font License 1.1 日本語訳](https://licenses.opensource.jp/OFL-1.1/OFL-1.1.html)または同梱の「OFL.txt」(英語)をご確認ください。 ### 収録文字 * カタカナ、ひらがな、英数字、記号類、JIS第一水準漢字など * [GF Latin Core](https://github.com/googlefonts/gftools/tree/master/Lib/gftools/encodings/GF%20Glyph%20Sets#gf-latin-core) ### 禁止行為 * 「SIL Open Font License Version 1.1」以外のライセンスで再配布すること。 * フォントファイル自体を単体で販売すること。 Train-master/README.md 0000775 0000000 0000000 00000003147 14065067713 0014724 0 ustar 00root root 0000000 0000000 [English](https://github.com/fontworks-fonts/Train) /[日本語](README-JP.md)  ## Train One-Regular Train (distributed as "Railway" in Japan by Fontworks) is a gothic-style typeface made with an outer and inner line. It is open and vibrant, and its strong first impression makes it suitable for logos and titles. [Learn more](https://fontworks.co.jp/fontsearch/RailwayStd-B/). ### Download the font You can download pre-built the TrueType font from the following page. [Latest release](https://github.com/fontworks-fonts/Train/tree/master/fonts/ttf) ### Building the font from source #### Requirements * [python3](https://www.python.org/) * [fontmake](https://github.com/googlefonts/fontmake/) * [fonttools](https://github.com/fonttools/fonttools/) * [ttfautohint](https://www.freetype.org/ttfautohint/doc/ttfautohint.html) #### Build the font Change the current working directory to 'Train' folder and run **build.py** . $ python build.py If the **--autohinting** command line option is specified, it will add hinting with ttfautohint. $ python build.py --autohinting ### Licence This font is licensed under the [SIL Open Font License](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL). ### Characters * Katakana, hiragana, alphanumeric characters, symbols, JIS level 1 kanji set, etc. * [GF Latin Core](https://github.com/googlefonts/gftools/tree/master/Lib/gftools/encodings/GF%20Glyph%20Sets#gf-latin-core) ### Prohibited acts * Redistribute under license except 'SIL Open Font License Version 1.1'. * Selling the font file itself. Train-master/build.py 0000664 0000000 0000000 00000003761 14065067713 0015115 0 ustar 00root root 0000000 0000000 from fontTools.ttLib.ttFont import newTable from fontmake import __main__ from fontTools.ttLib import TTFont, newTable import shutil, subprocess, glob, sys from pathlib import Path print ("[Train One] Generating TTF") __main__.main(("-g","sources/TrainOne.glyphs", "-o","ttf",)) def GASP_set(font:TTFont): if "gasp" not in font: font["gasp"] = newTable("gasp") font["gasp"].gaspRange = {} if font["gasp"].gaspRange != {65535: 0x000A}: font["gasp"].gaspRange = {65535: 0x000A} for font in Path("master_ttf").glob("*.ttf"): modifiedFont = TTFont(font) print ("["+str(font).split("/")[1][:-4]+"] Adding stub DSIG") modifiedFont["DSIG"] = newTable("DSIG") #need that stub dsig modifiedFont["DSIG"].ulVersion = 1 modifiedFont["DSIG"].usFlag = 0 modifiedFont["DSIG"].usNumSigs = 0 modifiedFont["DSIG"].signatureRecords = [] print ("["+str(font).split("/")[1][:-4]+"] Making other changes") modifiedFont["name"].addMultilingualName({'ja':'トレイン One'}, modifiedFont, nameID = 1, windows=True, mac=False) modifiedFont["name"].addMultilingualName({'ja':'Regular'}, modifiedFont, nameID = 2, windows=True, mac=False) modifiedFont["head"].flags |= 1 << 3 #sets flag to always round PPEM to integer GASP_set(modifiedFont) modifiedFont.save("fonts/ttf/"+str(font).split("/")[1]) shutil.rmtree("instance_ufo") shutil.rmtree("master_ufo") shutil.rmtree("master_ttf") try: if sys.argv[1] == "--autohinting": for font in Path("fonts/ttf/").glob("*.ttf"): print ("["+str(font).split("/")[2][:-4]+"] Autohinting") fontName = str(font) hintedName = fontName[:-4]+"-hinted.ttf" subprocess.check_call( [ "ttfautohint", "--stem-width", "nsn", fontName, hintedName, ] ) shutil.move(hintedName, fontName) except IndexError: pass Train-master/documentation/ 0000775 0000000 0000000 00000000000 14065067713 0016306 5 ustar 00root root 0000000 0000000 Train-master/documentation/TrainOne.pdf 0000775 0000000 0000000 00024061315 14065067713 0020537 0 ustar 00root root 0000000 0000000 %PDF-1.3 % 4 0 obj << /Length 5 0 R /Filter /FlateDecode >> stream xٚl9^wO;y(n95|>UdfMY$zew{66`03??立rN?}~o۷j[Ol}~}OǷong:9۷ozշh߾ݯ_yoܷ??o_oWԦ=ujMxq?+|o_~};oڸۍQa{x;o r 26jt}wn'^Gۗ_{oJ(r=6}{~*IJnϧۏozܞv/|Ƿ2zݜv.w=;ݶr_x~;mgZ_xdNOa{z^inxzߞ 6S9.Wz=oc@~=p gw8_nj2?z[?~eˋ`t^BsX|߾Ob1Φ3}\r`Qz۟Gh`둕\`{}mYW`''vx" |Y&̧X澦vf9mOG>cjbp6yxHcs >#}VuD`1%_a#4(ѥg_tAʤOo~j$"[ro +(=nNiꑝs\dMzxx?<Ol3$1v&>Cܐ{w^C*vo]0 ]| _oJs)7#vKJt؛{2#9\Qj2 ,4Əmcφv!,3Ezŋr@EK{?fi6a{WrV8r;[w2DPW'~8olfUL<oxFTB<=lNe?>{Ă+NěD_OJ{a[!4c+ıw}]:"ufN6=$o?27{ wA'*&Ug1{c7(]olo:0ay`jޥkv}?Nj5[i?N{|x_o,x='C',\#_?)[&5/ x]O[K$M'9a7ЁcyX^gIwM5V/ݍCt h\"xz>\Ŵ%ְiyWf8`f?~hyo۴[5낺b]Y+1] [Q]iSVaw_vWvְmlwV*"PgM p@#Ijnä ;M0\Ol;c;0v|X3mA=aJ6"dx]ĀnL@ tB`8,,/9Đ-%ȓlmv+G v=m)bY~E)7zl=u}cۨJc,lSucnna#۩Aza5auCbfwQ6<1!fnJaHC|#PvZVyKmqViJ{