Skip to content

Commit

Permalink
Merge pull request #239 from J1-takai/gh-pages
Browse files Browse the repository at this point in the history
Design With FontForge: Japanese Translation
  • Loading branch information
JoesCat committed Jun 13, 2024
2 parents efdbd88 + 98a1c5a commit edc44ec
Show file tree
Hide file tree
Showing 49 changed files with 4,712 additions and 1 deletion.
10 changes: 10 additions & 0 deletions _includes/footer_ja-JP.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!-- FOOTER -->
<footer>

<div class="inner">
<p>最終更新日 {{ site.time | date_to_long_string }}。<a href="https://github.com/fontforge/designwithfontforge.com">このサイト</a> や以下の <a class="editthispage" href="https://github.com/fontforge/designwithfontforge.com/blob/gh-pages{{ page.url | replace: '.html', '.md' }}" target="_blank">各ページ</a> の改善活動へのご協力をお願いします。</p>
<p>著作権/Copyright &copy; 2012 - 2017, The Design With FontForge <a href="https://github.com/fontforge/designwithfontforge.com/blob/gh-pages/AUTHORS.txt">著作者の方々</a>.</p>
<p><a href="//designwithfontforge.com"><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Design With FontForge</span></a>’ by <a xmlns:cc="http://creativecommons.org/ns#" href="http://designwithfontforge.com" property="cc:attributionName" rel="cc:attributionURL">the FontForge Community</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">CC BY-SA 3.0</a>.
</div>

</footer>
45 changes: 45 additions & 0 deletions _includes/header-masthead_ja-JP.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{% assign urlList = site.pages | map: 'url' %}

<header>
<div class="inner">
<h1><a href="/">{{ site.title }}</a></h1>
<h2>{{ site.subtitle }}</h2>
<div class="lang">
<a href="#" class="lang">[English]</a>&nbsp;|&nbsp;
<a href="
{% assign CNurl = page.name | replace: '.md', '.html' | prepend: '/fr-FR/' %}
{% if urlList contains CNurl %}
{{ page.name | prepend: '../fr-FR/' | replace: '.md', '.html' }}
{% else %}
../fr-FR/index.html
{% endif %}
"class="lang">[Français]</a>&nbsp;|&nbsp;
<a href="
{% assign CNurl = page.name | replace: '.md', '.html' | prepend: '/zh-CN/' %}
{% if urlList contains CNurl %}
{{ page.name | prepend: '../zh-CN/' | replace: '.md', '.html' }}
{% else %}
../zh-CN/index.html
{% endif %}
"class="lang">[简体中文版]</a>&nbsp;|&nbsp;
<a href="
{% assign TWurl = page.name | replace: '.md', '.html' | prepend: '/zh-TW/' %}
{% if urlList contains TWurl %}
{{ page.name | prepend: '../zh-TW/' | replace: '.md', '.html' }}
{% else %}
../zh-TW/index.html
{% endif %}
" class="lang">[正體中文版]</a>
<a href="
{% assign JPurl = page.name | replace: '.md', '.html' | prepend: '/ja-JP/' %}
{% if urlList contains JPurl %}
{{ page.name | prepend: '../ja-JP/' | replace: '.md', '.html' }}
{% else %}
../ja-JP/index.html
{% endif %}
" class="lang">[日本語版]</a>
</div>
<div class="ebook">Download as <a href="/ebook/design-with-fontforge_en-US.epub" class="ebook" rel="nofollow">[ePUB]</a>&nbsp;|&nbsp;<a href="/ebook/design-with-fontforge_en-US.mobi" class="ebook" rel="nofollow">[MOBI]</a>&nbsp;|&nbsp;<a href="/ebook/design-with-fontforge_en-US.pdf" class="ebook" rel="nofollow">[PDF]</a></div>
<a href="https://github.com/fontforge/designwithfontforge.com" class="button" target="_blank"><small>View project on</small>GitHub</a>
</div>
</header>
88 changes: 88 additions & 0 deletions _layouts/bookpage_ja-JP.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{% include html-start.html %}

{% include header-masthead_ja-JP.html %}

{% assign pageList = site.pages | sort: 'weight' %}

<div id="content-wrapper">
<div class="inner clearfix">
<section id="main-content">
<h1>{{ page.title }}</h1>
{{ content }}
<nav id="post-nav" class="clearfix">
{% for p in pageList reversed %}

{% if p.path contains 'ja-JP' %}

{% if currentPost and p.title != 'Design With FontForge' %}
<a class="prev" href="{{p.url}}">
<span>Prev</span>
<span><h3>{{p.title}}</h3></span>
</a>
{% assign currentPost = false %}
{% break %}
{% endif %}

{% if p.url == page.url %}
{% assign currentPost = true %}
{% else %}
{% assign currentPost = false %}
{% endif %}

{% endif %}

{% endfor %}

{% assign currentPost = false %}

{% for p in pageList %}

{% if p.path contains 'ja-JP' %}

{% if currentPost and p.title != 'Design With FontForge' %}
<a class="next" href="{{p.url}}">
<span>Next</span>
<span><h3>{{p.title}}</h3></span>
</a>
{% assign currentPost = false %}
{% break %}
{% endif %}

{% if p.url == page.url %}
{% assign currentPost = true %}
{% else %}
{% assign currentPost = false %}
{% endif %}

{% endif %}

{% endfor %}
</nav>
</section>

<aside id="sidebar">
<!-- <a href="" class="button">
<small>Download book as</small>
PDF
</a>-->
<ol class="rectangle-list">
{% for p in pageList %}
{% if p.path contains 'ja-JP' and p.title != 'Design With FontForge' %}
<li>
<a {% if p.url == page.url %}class="active"{% endif %} href="{{ p.url }}">
{{ p.title }}
</a>
</li>
{% endif %}
{% endfor %}
</ol>
<p>本書は「自由」文化の所産で、<a href="//github.com/fontforge/designwithfontforge.com/" target="_blank">GitHub 上で管理されています</a>。「不具合修正」「ご提案」「訂正」などをお寄せください。</p>
<p><a class"" href="https://github.com/fontforge/designwithfontforge.com/commits/gh-pages">最新の変更内容はこちらです</a></p>
<p><a class="editthispage" href="https://github.com/fontforge/designwithfontforge.com/blob/gh-pages{{ page.url | replace: '.html', '.md' }}" target="_blank">ページを編集</a> (<a href="https://github.com/fontforge/designwithfontforge.com">詳細はこちら</a>)</p></p>
</aside>
</div>
</div>

{% include footer.html %}

{% include html-end.html %}
27 changes: 27 additions & 0 deletions _layouts/homepage_ja-JP.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{% include html-start.html %}

{% include header-masthead_ja-JP.html %}


<div id="content-wrapper">
<div class="inner clearfix">
<section id="main-content">

<p>{{ content }}</p>
</section>

<aside id="sidebar">
<!-- <a href="" class="button">
<small>Download book as</small>
PDF
</a> -->
<p>本書は「自由」文化の所産で、<a href="//github.com/fontforge/designwithfontforge.com/" target="_blank">GitHub 上で管理されています</a>。「不具合修正」「ご提案」「訂正」などをお寄せください。</p>
<p><a class="editthispage" href="https://github.com/fontforge/designwithfontforge.com/blob/gh-pages{{ page.url | replace: '.html', '.md' }}" target="_blank">ページを編集</a> (<a href="https://github.com/fontforge/designwithfontforge.com">詳細はこちら</a>)</p></p>
</aside>

</div>
</div>

{% include footer.html %}

{% include html-end.html %}
2 changes: 1 addition & 1 deletion ebook/create_books.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BOOKS="$@"

if [ $# -lt 1 ]; then
echo 1>&2 "Building all books"
BOOKS="en-US zh-CN fr-FR"
BOOKS="en-US zh-CN fr-FR ja-JP"
fi

sed -i -e 's|2012 - [2][0-9][0-9][0-9]|2012 - '$(date '+%Y')'|g' cover_template.svg # Insert current year into book cover
Expand Down
40 changes: 40 additions & 0 deletions ebook/honkit-ja-JP/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
published: false
---

# Summary

* [はじめに](Introduction.md)
* [フォントとは](What_Is_a_Font.md)
* [自分の目を信頼する](Trusting_Your_Eyes.md)
* [プロジェクトを計画する](Planning_Your_Project.md)
* [エム(EM)スクエア](The_EM_Square.md)
* [FontForge をインストールする](Installing_Fontforge.md)
* [FontForge の設定](Configuring_FontForge.md)
* [ユーザー・インターフェース(UI)の概要](General_UI_Introduction.md)
* [FontForge の描画ツールを使用する](Using_the_Fontforge_Drawing_Tools.md)
* [螺旋ツールで描画する](Drawing_With_Spiro.md)
* [文字「o」と「n」を作成する](Creating_o_and_n.md)
* [フォント情報 と メタデータ](Font_Info_&_Metadata.md)
* [単語間スペース](Word_Space.md)
* [フォントの DNA を生み出す](Creating_Your_Types_Dna.md)
* [大文字](Capital_Letters.md)
* [行間スペース](Line_Spacing.md)
* [句読点と記号](Punctuation_and_Symbols.md)
* [小文字を完成させる](Completing_the_Lower_Case.md)
* [発音区別符号とアクセント記号](Diacritics_and_Accents.md)
* [数字](Numerals.md)
* [太字、その他の文字太さ](Bold_and_Other_Weights.md)
* [斜字体](Italic.md)
* [スペース、メトリクス、および カーニング](Spacing_Metrics_and_Kerning.md)
* [作成したフォントの検証](Making_Sure_Your_Font_Works_Validation.md)
* [最終出力、フォント・ファイルの生成](The_Final_Output_Generating_Font_Files.md)
* [FontForge に問題が発生したら](When_Things_Go_Wrong_With_Fontforge_Itself.md)
* [デーヴァナーガリー文字書体のデザイン](Designing_Devanagari_Typefaces.md)
* [他のプログラムからグリフをインポートする](Importing_Glyphs_from_Other_Programs.md)
* [アラビア語フォントにグリフを追加する](Adding_Glyphs_to_an_Arabic_Font.md)
* [参考文献](Further_Reading.md)
* [用語集](Glossary.md)
* [フォント・エディター・ツールの歴史](Font_Editor_history.md)
* [正誤表](Errata_memo.md)
* [日本語訳語メモ](Word_List_JA_translation.md)
12 changes: 12 additions & 0 deletions ebook/honkit-ja-JP/book.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"title": "Design With FontForge(日本語版)",
"description": "FontForge を用いた新しい書体デザインのためのガイドブックです。",
"language": "ja",
"pdf": {
"paperSize": "a4"
},
"structure": {
"readme": "Introduction.md",
"glossary": "dontuseaglossary.md"
}
}
Binary file added ebook/honkit-ja-JP/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ebook/honkit-ja-JP/cover_small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ebook/honkit-ja-JP/styles/ebook.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions ja-JP-weightlist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
published: false
---

| Weight | Page     |
|--------|--------------------------------------------|
| 0 | Index     |
| 1 | はじめに       |
| 3 | フォントとは       |
| 6 | 自分の目を信頼する       |
| 9 | プロジェクトを計画する       |
| 12 | エム(EM)スクエア       |
| 15 | FontForge をインストールする       |
| 16 | FontForge の設定     |
| 17 | ユーザー・インターフェース(UI)の概要   |
| 18 | FontForge の描画ツールを使用する   |
| 21 | 螺旋ツールで描画する   |
| 24 | 文字「o」と「n」を作成する   |
| 27 | フォント情報 と メタデータ   |
| 30 | 単語間スペース |
| 33 | フォントの DNA を生み出す |
| 36 | 大文字     |
| 39 | 行間スペース |
| 42 | 句読点と記号 |
| 45 | 小文字を完成させる     |
| 48 | 発音区別符号とアクセント記号 |
| 51 | 数字   |
| 54 | 太字、その他の文字太さ |
| 57 | 斜字体 |
| 60 | スペース、メトリクス、および カーニング  |
| 63 | 作成したフォントの検証          |
| 66 | 最終出力、フォント・ファイルの生成   |
| 69 | FontForge に問題が発生したら |
| 72 | デーヴァナーガリー文字書体のデザイン |
| 75 | 他のプログラムからグリフをインポートする |
| 78 | アラビア語フォントにグリフを追加する |
| 81 | 参考文献 |
| 84 | 用語集     |
| 87 | フォント・エディター・ツールの歴史 |
| 90 | 正誤表 Errata               |
| 93 | 日本語訳語メモ Word List JA translation |
Loading

0 comments on commit edc44ec

Please sign in to comment.