Skip to content

Commit

Permalink
1.1.1b27Qビルド
Browse files Browse the repository at this point in the history
  • Loading branch information
kyukyunyorituryo committed Sep 29, 2024
1 parent a8be09e commit 65909be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README_Changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ Changes
   外字用1文字フォントの利用

----
1.1.1b27Q (2024/09/29)
 - getWholeText()を.text()に
 - 使用しているライブラリの更新
 - なろうクラス名の変更と前書きの処理
1.1.1b26Q (2024/09/14)
 - web小説の改行を減らした
 - try-with-resourcesの使用などリファクタリング
Expand Down
4 changes: 2 additions & 2 deletions src/AozoraEpub3.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/** コマンドライン実行用mainとePub3変換関数 */
public class AozoraEpub3
{
public static final String VERSION = "1.1.1b26Q";
public static final String VERSION = "1.1.1b27Q";

/** コマンドライン実行用 */
public static void main(String[] args)
Expand Down Expand Up @@ -194,7 +194,7 @@ public static void main(String[] args)
try { pageMargin = props.getProperty("PageMargin").split(","); } catch (Exception e) {}
if (pageMargin.length != 4) pageMargin = new String[]{"0", "0", "0", "0"};
else {
String pageMarginUnit = Objects.equals(props.getProperty("PageMarginUnit"), "0") ?"em":"%";;
String pageMarginUnit = Objects.equals(props.getProperty("PageMarginUnit"), "0") ?"em":"%";
for (int i=0; i<4; i++) { pageMargin[i] += pageMarginUnit; }
}
String[] bodyMargin = {};
Expand Down

0 comments on commit 65909be

Please sign in to comment.