• 検索結果がありません。

Plat10高瀬pdf 最近の更新履歴 epubcafé

N/A
N/A
Protected

Academic year: 2018

シェア "Plat10高瀬pdf 最近の更新履歴 epubcafé"

Copied!
49
0
0

読み込み中.... (全文を見る)

全文

(1)

Internet Explorer 10

の日本語組版

イースト株式会社 高瀬 拓史 takase@est.co.jp

2012/06/22

(2)

今日お話するこ

• Internet Explorer 10 日本語 処理

観点 ッ

• 電子出版物 ォー ッ EPUB 3 含 CSS

主 対象

残念 網羅的

組版 専門家 用語や用例 誤

(3)

Internet Explorer 10

• 2011/4/12発表以降

最新 2012/5/31公開 Release Preview

対応環境 ?

– Windows 8 – Windows RT

– Windows Server 2012

– (Windows 7 Windows Server 2008 R2 予定)

体験

– Windows 8 Release Preview 使え

http://windows.microsoft.com/ja-JP/windows-

8/download?ocid=W_MSC_W8P_DevCenter_IE_ja-jp

ー 前 状態 戻 必要

注意

(4)

Test Drive Site

• IE 10 機能やWeb標準技術 ー 状態 沢山

モ 確認

結構楽 い ^^

• http://ie.microsoft.com/testdrive/

(5)

IE Testing Center

• IE 10 Web標準技術

http://samples.msdn.microsoft.com/ietestcenter/

• MS W3C 提出 数多

日本語 処理周

(6)

EPUB 3 使うCSS サポート ?

• EPUB 3 取 入 日本語

CSS モ ュー 代表格

– CSS Text Level 3 行処理 圏点...etc.

– CSS Writing Modes Module Level 3 縦書 縦中横...etc.

IE Testing Center

text-shadow(CSS Text Level3)

モ ュー 不安定 WD

ー 作 時期尚早 感 あ ...

▶個別 作 確認 ...

(7)

縦書

CSS3Writing Modes

20120301WD

EPUB3CSSProf : 20110428WD

IE 10 WebKit

プロパティ writing-mode -epub-writing- mode

-ms-writing- mode

-webkit-

writing-mode

horizontal-tb lr-tb

vertical-rl vertical-rl tb-rl vertical-rl

vertical-lr vertical-lr tb-lr vertical-lr

• IE 5.5 既 writing-mode 実装済

日本語縦書 vertical-rl 指定 IE

tb-rl 指定

• CSS 2010 年 tb-rl→vertical-rl 値 変更

(8)

縦書

• WebKit(Win 版) う 全

文字 90 度回転う

(9)

文書

中 縦書

横書 混在 問題

(10)

縦中横

• W3C 最新WD 定義

text-combine-horizontal

text-combine-mode

• EPUB 3 少 古いWD 参照 -epub-

text-combine 使う

不安定

• IE 過去 実装

IE10

(11)

未実装

何故 span

囲 文字

行 中心 う

(12)

代替方法 試

1. 縦中横 -ms-writing-mode 横 書(lr-tb) 実現

2. 1 行全体 text-

decoration:underline 指定 当然横書部分 下線

3. 1 行全体 border-right 指定 文字 自然 感箇所 線 途切

見え

(13)

CSS3Writing Modes

20120301WD

EPUB3CSSProf : 20110428WD

IE 10 WebKit

プロパティ text-combine- horizontal

-epub-text-combine -webkit-text-

combine

none none none

all

numeric digits alpha latin

alphanumeric

horizontal horizontal

プロパティ text-combine-mode

auto

compress no-compress use-glyphs

(14)

縦書した文字 向き

縦書 文字 向 一様

文字 表示 指定

text-orientation

• Unicode 縦書 文字 向 標準化 UTR#50

http://unicode.org/reports/tr50/ 進行中 あ CSS 参照

(15)

• IE10 実装

い い模様

いえ MS社 UTR#50 提案 行

対応

視野 入

http://unicode.org/foru m/viewtopic.php?f=35& t=277

期待さ 表示

(16)

CSS3 Writing Modes 20120301WD

EPUB3CSSProf : 20110428WD

IE 10 WebKit

プロパティ text-orientaion -epub-text-orientation -webkit-text- orientation

mixed-right vertical-right vertical-right

upright upright upright

sideways-right rotate-right sideways-left rotate-left

sideways rotate-normal

use-glyph-orientation auto

WebKit vertical-right upright Windows 使え い

(17)

• HTML5 標準

• 実 IE5 い 早 実装済

• Ruby Annotation い rb rbc rtc要素

HTML5 引 継 い い 今回 ッ 対

象外

HTML5

20120329 WD

EPUB3

: 日付指定なし

IE 10 WebKit

要素 ruby ruby ruby ruby

rt rt rt rt

rp rp (非推奨) rp rp

(18)

• IE 10 当然表示

横書

縦書 ...

(19)

ビ付 文字

行 中心 左

(20)

• ruby

position:relative; bottom:0.25em; (left !)

指定 中心

逆 他

表示

移動方向 top→右

bottom →左 left →上

right →下

疑問

(21)

右:

text-decoration:underline 傍線

• ビ文字 text-decoration

継承 い

WebKit 継承

左:

border-right 傍線

傍線 引い 箇所

行 中心 若干左

(22)

ビ スタイ ング

上付 中付 下付

• IE

豊富 主 IE5 実装

– ruby-align ビ 配置方法

– ruby-overhang 隣接 文字

– ruby-position ビ 表示位置

※どPUて3仕様 (-epub-)ruby-position

含 い

(23)

CSS3 Ruby 20110630 WD

EPUB3CSSProf : 日付指定なし

IE 10 WebKit

プロパティ ruby-position -epub-text-justify ruby-position

before over above

after under

inter-character inter-character

inline inline

プロパティ ruby-align ruby-align

auto auto

start

left left

center center

end

right right

distribute-letter distribute-letter

distribute-space distribute-space

line-edge line-edge

プロパティ ruby-overhang ruby-overhang

auto auto

start end

none none

whitespace

(24)
(25)

※ィウby-overhang 隣接領域 確認

何 い う...

(26)

圏点

• 圏点 位置 形状 色合い 指定

text-emphasis-style

text-emphasis-color

text-empahsis-position

• IE 過去 実装

い IE10 う い ?

(27)

• text-emphasis-*

応 い

黄色い 箇

所 圏点 指定 い

(28)

代替方法 試

使 圏点 表示

• 体裁上 違和感 い

※例

position: relative

bottom:0.4em

位置補正 い

(29)

CSS3 Text 20120119 WD

EPUB3CSSProf : 20110412WD

IE 10 WebKit

プロパティ text-emphasis-style -epub-text-emphasis-style -webkit-text-emphasis-style

none none none

filled filled filled

open open open

dot dot dot

circle circle circle

double-circle double-circle double-circle

triangle triangle triangle

sesame sesame sesame

<string> <string> <string>

プロパティ text-emphasis-color -epub-text-emphasis-color -webkit-text-emphasis-color

<color> <color> <color>

プロパティ text-emphasis-position

above

below right left

プロパティ text-emphasis -epub-text-emphasis -webkit-text-emphasis

(30)

行頭行末揃え

• 行 開始 終了位置 均等 合わ

text-align:justify

CSS3 詳細 挙動 text-

justify 指定

• IE5 既 text-justify 実装 い

• IE 10 使 う→

(31)

• text-align: justify 表示

行末 ぴ 揃う

• text-justify 詳細 挙動 指定

(32)

• text-justify 利用例 4 auto:実装任

distribute:単語間 字間 調整 日本語向

inter-ideograph:漢字等 字間 調整 日本語向 inter-word:単語間 調整

(33)

CSS3 Text

20120119 WD

EPUB3CSSProf IE 10 WebKit

プロパティ text-justify -ms-text-justify

auto auto

none none

inter-word inter-word

inter-ideograph inter-ideograph

inter-cluster inter-cluster

distribute distribute

kashida kashida

distribute-all- lines

newspaper

• inter-cluster: 語 kashida ビ 語向

• distribute-all-lines newspaper MS独自

(34)

均等割付

単独 行 文字 均等割付 text-align-last 使え

単独行 最終行 揃え 指定

• IE5.5 実装 最近FireFox 実装

CSS3 Text

20120119 WD

EPUB3CSSProf : 20110412WD

IE 10 WebKit

プロパティ text-align-last -epub-text-align-last -ms-text-align-last

auto auto auto

start start ×

end end ×

left left left

right right right

center center center

justify justify justify

inherit

(35)

• text-align-last:justify 均等割付 実現

紙 本 い カッコ

(36)

禁則処理

• 厳格 禁則 緩い禁則 禁則 い い あ

禁則 ー line-break 指定

• IE5 実装 行わ

• IE10 使 う→

CSS3 Text 20120119 WD

EPUB3CSSProf : 20110412WD

IE 10 WebKit

プロパティ line-break -epub-line-break line-break -webkit-line-break

auto auto

loose loose

normal normal normal normal

strict strict strict

after-white-space

(37)

• line-break 値 他 auto:実装任 loose:最低限 禁則 あ

• normal:一般的 禁則

小書 仮名 音引 手前 改行可能 手前 改行

推奨 IE 禁則対象

• strict:厳格 禁則 小書 仮名 音引 手前 改行禁止

手前 禁則対象 推奨

IE 改行

禁則 UA 裁量 大 い 間違い 言え い

日本語禁則 ー 使い分 モ ン 現状IE

(38)

和欧文混植 改行処理

和文 含 欧文 途中 改行 必要 迫

う ? 欧文 含 和文 中 ?

• word-break 挙動 指定

• IE5 実装 行わ

• IE10 使 う→

CSS3 Text

20120119 WD

EPUB3CSSProf : 20110412WD

IE 10 WebKit

プロパティ word-break -epub-word-break -ms-word- break

word-break

normal auto normal normal

break-all break-all break-all break-all

keep-all keep-all keep-all

break-word

(39)

• word-break

• normal:実装任

• break-all: 行末 改行 CJK向

• keep-all: 空白 明示的 改行機会 改行

(40)

• keep-all 面白い使い方

改行 い言葉 切 目 ゼ 幅 ペー U+200B 仕込 箇所 改行

<p> &#8203; &#8203;安い&#8203;所へ

&#8203;引 越 &#8203; ...</p>

(41)

傍線 表示位置

日本語 横書 下 縦書 右 傍線 引 一般的

• text-decoration:underline 表示位置 指定 text-underline- position いう

• IE5.5 実装 IE10 表示 見 う→

CSS3 Text 20120119 WD

EPUB3CSSProf IE 10 WebKit

プロパティ text-underline- position

-ms-text-underline- position

auto auto

alphabetic below left below right

above below auto-pos

(42)

• auto lang ち“ja” 日本語

書 時 underline 右側 表示

解説 い

表示 左側 表示

http://samples.msdn.microsoft.com

/workshop/samples/author/dhtml/r

efs/textUnderlinePositionAuto.htm

• above 正常 右側 表示

text-

decoration:overline 使え 済 話

(43)

フォント

• IE10 WebFont 独自形式 eot OpenType TrueType WOFF Embed

• IVS対応 複雑 異体字 表現

根本的 要望 ォン

滑 描画 欲 い

本資料 ーン ョッ 会場 見えや い う

font-size:2em 表示 使用

目立 い 本来 ン

(44)

• WebFont(OpenType,WOFF) IVS対応 確認 作業室

http://shiromoji.net/font/HanaMinOT/webfonttest/

埋 込 様々 異体字 表現 確認

(45)

• font-family: serif; 指定 場合 表示 Batang ォン 余 美 残念 langち“ja” MS明朝

欲 言え 高品質 ォン 搭載 希望

(46)

CSS Grid Layout

電子書籍 是非使いたい!

• Test Drive 掲載 モ 一例

• The Grid System

http://ie.microsoft.com/testdrive/HTML5/GridSystem/Default .html

新聞紙面 簡単

• EPUB 3 CSS Profile い い

(47)

CSS3 Gird Layout 20120322 WD

EPUB3CSSProf IE 10 WebKit

プロパティ display display display

grid -ms-grid -webkit-grid?

inline-grid -ms-inline-grid -webkit-inline-grid?

プロパティ grid-columns -ms-grid-columns -webkit-grid-columns?

プロパティ -ms-grid-column -ms-grid-column -webkit-grid-colums?

プロパティ grid-rows -ms-grid-rows -webkit-grid-rows?

プロパティ grid-row -ms-grid-row -webkit-grid-row?

プロパティ grid-template プロパティ grid-cell

プロパティ grid-column-span -ms-grid-column-span

プロパティ grid-row-span -ms-grid-row-span

プロパティ grid-column-sizing プロパティ grid-row-sizing プロパティ grid-flow

プロパティ grid-column-align -ms-grid-column-align

プロパティ grid-row-align -ms-grid-row-align

対応表 正確 怪 い

(48)

ま め

日本語 表示環境 IE 10 行揃えや禁則

等 行処理 分野 極 豊富 実装

他 モ ン 追随 許 い

IE 5~5.5 時代 取 組 財産

役立 い 思わ

• 一方 2010年以降 提案 圏点や縦中横等 新

い い あ 実装 行わ い い

安定 取 入 欲 い

• ー UI/UX 重要 要素 美 いMetro UI 備え Windows 8 美 い日本語 表現

場 あ う期待 い !

(49)

清聴あ う い

参照

関連したドキュメント

担い手に農地を集積するための土地利用調整に関する話し合いや農家の意

[r]

[r]

[r]

[r]

[r]

該当お船積みの Invoice company のみが閲覧可能と なります。Booking 時に Invoice company をご指定くだ さい。ご指定ない場合は、自動的に Booking Party =

②上記以外の言語からの翻訳 ⇒ 各言語 200 語当たり 3,500 円上限 (1 字当たり 17.5