Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
huideyeren committed Sep 1, 2024
1 parent b88c581 commit 77221e6
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 31 deletions.
4 changes: 2 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ imgmath_options:
# pdfcrop_pixelize_cmd: "mv %i %o"

# EPUBにおけるページ送りの送り方向、page-progression-directionの値("ltr"|"rtl"|"default")
# direction: "ltr" # 横書き用
direction: "rtl" # 縦書き用
direction: "ltr" # 横書き用
# direction: "rtl" # 縦書き用

# EPUBのOPFへの固有の追加ルール
# <package>要素に追加する名前空間
Expand Down
Binary file not shown.
Binary file added fonts/Alegreya/Alegreya-VariableFont_wght.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion fonts/EBGaramond/OFL.txt → fonts/Alegreya/OFL.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2017 The EB Garamond Project Authors (https://github.com/octaviopardo/EBGaramond12)
Copyright 2011 The Alegreya Project Authors (https://github.com/huertatipografica/Alegreya)

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:
Expand Down
36 changes: 19 additions & 17 deletions fonts/EBGaramond/README.txt → fonts/Alegreya/README.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
EB Garamond Variable Font
=========================
Alegreya Variable Font
======================

This download contains EB Garamond as both variable fonts and static fonts.
This download contains Alegreya as both variable fonts and static fonts.

EB Garamond is a variable font with this axis:
Alegreya is a variable font with this axis:
wght

This means all the styles are contained in these files:
EBGaramond-VariableFont_wght.ttf
EBGaramond-Italic-VariableFont_wght.ttf
Alegreya-VariableFont_wght.ttf
Alegreya-Italic-VariableFont_wght.ttf

If your app fully supports variable fonts, you can now pick intermediate styles
that aren’t available as static fonts. Not all apps support variable fonts, and
in those cases you can use the static font files for EB Garamond:
static/EBGaramond-Regular.ttf
static/EBGaramond-Medium.ttf
static/EBGaramond-SemiBold.ttf
static/EBGaramond-Bold.ttf
static/EBGaramond-ExtraBold.ttf
static/EBGaramond-Italic.ttf
static/EBGaramond-MediumItalic.ttf
static/EBGaramond-SemiBoldItalic.ttf
static/EBGaramond-BoldItalic.ttf
static/EBGaramond-ExtraBoldItalic.ttf
in those cases you can use the static font files for Alegreya:
static/Alegreya-Regular.ttf
static/Alegreya-Medium.ttf
static/Alegreya-SemiBold.ttf
static/Alegreya-Bold.ttf
static/Alegreya-ExtraBold.ttf
static/Alegreya-Black.ttf
static/Alegreya-Italic.ttf
static/Alegreya-MediumItalic.ttf
static/Alegreya-SemiBoldItalic.ttf
static/Alegreya-BoldItalic.ttf
static/Alegreya-ExtraBoldItalic.ttf
static/Alegreya-BlackItalic.ttf

Get started
-----------
Expand Down
Binary file not shown.
Binary file removed fonts/EBGaramond/EBGaramond-VariableFont_wght.ttf
Binary file not shown.
9 changes: 3 additions & 6 deletions sass/common/_contents-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,21 +110,18 @@ dl {
width: 100%;

dt {
width: auto;
width: 40%;
font-weight: 700;
text-align:justify;
text-align: right;
&::after {
content: ": ";
}
}

dd {
text-indent: 1rem;
width: auto;
width: 60%;
text-align: left;
&::after {
width: 100%
}
}
}

Expand Down
8 changes: 4 additions & 4 deletions sass/tate/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
/* EB Garamond Variable */

@font-face {
font-family: 'EB Garamond Variable';
font-family: 'Alegreya';
font-style: normal;
font-display: swap;
font-weight: 400 700;
src: url(./fonts/EBGaramond/EBGaramond-VariableFont_wght.ttf) format('truetype');
src: url(./fonts/Alegreya/Alegreya-VariableFont_wght.ttf) format('truetype');
}

@font-face {
font-family: 'EB Garamond Variable';
font-family: 'Alegreya';
font-style: italic;
font-weight: 400 700;
src: url(./fonts/EBGaramond/EBGaramond-Italic-VariableFont_wght.ttf) format('truetype');
src: url(./fonts/Alegreya/Alegreya-Italic-VariableFont_wght.ttf) format('truetype');
}

/* Nanum Myeongjo */
Expand Down
2 changes: 1 addition & 1 deletion sass/tate/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

html {
/* フォント */
font-family: "EB Garamond", "Yakumono", "Noto Serif CJK jp", "Cica", serif;
font-family: "Alegreya", "Yakumono", "Noto Serif CJK jp", "Cica", serif;
font-weight: normal;
/* 行末揃え */
text-align: justify;
Expand Down

0 comments on commit 77221e6

Please sign in to comment.