モノルビ グループルビ 熟 語 ルビ 歩 時 雨 1 熟 語 Fig. 1 Mono-ruby, Group-ruby, Jukugo-ruby. inline annotation 2) Bopomofo 2.1.2 JIS X 4051 3) 3 1 1 2 W3C 4) 2.2 Web Web



Similar documents
歩 時雨 熟語 モノルビ グループルビ 熟語ルビ 1 Fig. 1 Mono-ruby, Group-ruby, Jukugo-ruby. inline annotation 2) Bopomofo JIS X ) W3C 4) 2.2 Web Web 3 X

PowerPoint プレゼンテーション

CSS勉強会


Web

[2] OCR [3], [4] [5] [6] [4], [7] [8], [9] 1 [10] Fig. 1 Current arrangement and size of ruby. 2 Fig. 2 Typography combined with printing

World Wide Web =WWW Web ipad Web Web HTML hyper text markup language CSS cascading style sheet Web Web HTML CSS HTML


1 Fig. 1 Extraction of motion,.,,, 4,,, 3., 1, 2. 2.,. CHLAC,. 2.1,. (256 ).,., CHLAC. CHLAC, HLAC. 2.3 (HLAC ) r,.,. HLAC. N. 2 HLAC Fig. 2

Vol.55 No (Jan. 2014) saccess 6 saccess 7 saccess 2. [3] p.33 * B (A) (B) (C) (D) (E) (F) *1 [3], [4] Web PDF a m

Vol. 42 No. SIG 8(TOD 10) July HTML 100 Development of Authoring and Delivery System for Synchronized Contents and Experiment on High Spe

大学における原価計算教育の現状と課題

3_23.dvi

( ) [1] [4] ( ) 2. [5] [6] Piano Tutor[7] [1], [2], [8], [9] Radiobaton[10] Two Finger Piano[11] Coloring-in Piano[12] ism[13] MIDI MIDI 1 Fig. 1 Syst

E MathML W3C MathJax 1.3 MathJax MathJax[5] TEX MathML JavaScript TEX MathML [8] [9] MathSciNet[10] MathJax MathJax MathJax MathJax MathJax MathJax We

ICT a) Caption Presentation Method with Speech Expression Utilizing Speech Bubble Shapes for Video Content Yuko KONYA a) and Itiro SIIO 1. Graduate Sc

08-特集04.indd

駒田朋子.indd

ID 3) 9 4) 5) ID 2 ID 2 ID 2 Bluetooth ID 2 SRCid1 DSTid2 2 id1 id2 ID SRC DST SRC 2 2 ID 2 2 QR 6) 8) 6) QR QR QR QR

2013 Future University Hakodate 2013 System Information Science Practice Group Report biblive : Project Name biblive : Recording and sharing experienc

IPSJ SIG Technical Report Vol.2017-CLE-21 No /3/21 e 1,2 1,2 1 1,2 1 Sakai e e e Sakai e Current Status and Challenges on e-learning T

スライド 1

B 20 Web

Vol. 45 No Web ) 3) ),5) 1 Fig. 1 The Official Gazette. WTO A

Vol.53 No (Mar. 2012) 1, 1,a) 1, 2 1 1, , Musical Interaction System Based on Stage Metaphor Seiko Myojin 1, 1,a

Web

総研大文化科学研究第 11 号 (2015)

山梨県ホームページ作成ガイドライン

29 jjencode JavaScript

& Vol.5 No (Oct. 2015) TV 1,2,a) , Augmented TV TV AR Augmented Reality 3DCG TV Estimation of TV Screen Position and Ro

2 : Open Clip Art Library [4] Microsoft Office PowerPoint Web PowerPoint 2 Yahoo! Web [5] SlideShare Yahoo! Web Yahoo! Web

GPGPU

IPSJ SIG Technical Report Vol.2013-GN-86 No.35 Vol.2013-CDS-6 No /1/17 1,a) 2,b) (1) (2) (3) Development of Mobile Multilingual Medical

Lunascape 4 Lunascape () ARPANET HTML, http Tim Berners-Lee WorldWideWeb ( Nexus ) 1993 Marc Andreessen(Net

No.7, (2006) 2 Electronic Funds Transfer as the Foundation of the Monetary Value of Electronic Money - A Study on the JBA 1 Integrated Circuit

L3 Japanese (90570) 2008

日本感性工学会論文誌

Web ( ) [1] Web Shibboleth SSO Web SSO Web Web Shibboleth SAML IdP(Identity Provider) Web Web (SP:ServiceProvider) ( ) IdP Web Web MRA(Mail Retrieval

„h‹¤.05.07


1: A/B/C/D Fig. 1 Modeling Based on Difference in Agitation Method artisoc[7] A D 2017 Information Processing

1 1 CodeDrummer CodeMusician CodeDrummer Fig. 1 Overview of proposal system c


28 Horizontal angle correction using straight line detection in an equirectangular image

Input image Initialize variables Loop for period of oscillation Update height map Make shade image Change property of image Output image Change time L

IPSJ SIG Technical Report Vol.2011-DBS-153 No /11/3 Wikipedia Wikipedia Wikipedia Extracting Difference Information from Multilingual Wiki

Juntendo Medical Journal

speaxJ22CL-4

* Meso- -scale Features of the Tokai Heavy Rainfall in September 2000 Shin-ichi SUZUKI Disaster Prevention Research Group, National R

IPSJ SIG Technical Report Vol.2011-EC-19 No /3/ ,.,., Peg-Scope Viewer,,.,,,,. Utilization of Watching Logs for Support of Multi-

07_経営論集2010 小松先生.indd

258 5) GPS 1 GPS 6) GPS DP 7) 8) 10) GPS GPS ) GPS Global Positioning System

IPSJ SIG Technical Report Vol.2011-CE-110 No /7/9 Bebras 1, 6 1, 2 3 4, 6 5, 6 Bebras 2010 Bebras Reporting Trial of Bebras Contest for K12 stud

Vol. 23 No. 4 Oct Kitchen of the Future 1 Kitchen of the Future 1 1 Kitchen of the Future LCD [7], [8] (Kitchen of the Future ) WWW [7], [3

e-learning e e e e e-learning 2 Web e-leaning e 4 GP 4 e-learning e-learning e-learning e LMS LMS Internet Navigware

IPSJ SIG Technical Report Vol.2010-GN-74 No /1/ , 3 Disaster Training Supporting System Based on Electronic Triage HIROAKI KOJIMA, 1 KU

DPA,, ShareLog 3) 4) 2.2 Strino Strino STRain-based user Interface with tacticle of elastic Natural ObjectsStrino 1 Strino ) PC Log-Log (2007 6)

COM COM 4) 5) COM COM 3 4) 5) COM COM 6) 7) 10) COM Bonanza 6) Bonanza Hearts COM 7) 10) Hearts 3 2,000 4,000

The copyright of this material is retained by the Information Processing Society of Japan (IPSJ). The material has been made available on the website

WebRTC P2P Web Proxy P2P Web Proxy WebRTC WebRTC Web, HTTP, WebRTC, P2P i

Studies of Foot Form for Footwear Design (Part 9) : Characteristics of the Foot Form of Young and Elder Women Based on their Sizes of Ball Joint Girth

大学論集第42号本文.indb

pp DC 2,

Vol. 48 No. 4 Apr LAN TCP/IP LAN TCP/IP 1 PC TCP/IP 1 PC User-mode Linux 12 Development of a System to Visualize Computer Network Behavior for L


Web 設計入門

Phonetic Perception and Phonemic Percepition

1 7.35% 74.0% linefeed point c 200 Information Processing Society of Japan

IPSJ SIG Technical Report Vol.2009-DPS-141 No.20 Vol.2009-GN-73 No.20 Vol.2009-EIP-46 No /11/27 1. MIERUKEN 1 2 MIERUKEN MIERUKEN MIERUKEN: Spe

Q [4] 2. [3] [5] ϵ- Q Q CO CO [4] Q Q [1] i = X ln n i + C (1) n i i n n i i i n i = n X i i C exploration exploitation [4] Q Q Q ϵ 1 ϵ 3. [3] [5] [4]

1 Fig. 2 2 Fig. 1 Sample of tab UI 1 Fig. 1 that changes by clicking tab 5 2. Web HTML Adobe Flash Web ( 1 ) ( 2 ) ( 3 ) ( 4 ) ( 5 ) 3 Web 2.1 Web Goo

IPSJ SIG Technical Report Vol.2010-SLDM-144 No.50 Vol.2010-EMB-16 No.50 Vol.2010-MBL-53 No.50 Vol.2010-UBI-25 No /3/27 Twitter IME Twitte

Web 設計入門

1 Web [2] Web [3] [4] [5], [6] [7] [8] S.W. [9] 3. MeetingShelf Web MeetingShelf MeetingShelf (1) (2) (3) (4) (5) Web MeetingShelf

3_39.dvi

Web Web ID Web 16 Web Web i

和文タイトル

ActionScript Flash Player 8 ActionScript3.0 ActionScript Flash Video ActionScript.swf swf FlashPlayer AVM(Actionscript Virtual Machine) Windows

Ł\1,4.ai

On the Wireless Beam of Short Electric Waves. (VII) (A New Electric Wave Projector.) By S. UDA, Member (Tohoku Imperial University.) Abstract. A new e

Vol. 28 No. 2 Apr Web Twitter/Facebook UI Twitter Web Twitter/Facebook e.g., Web Web UI 1 2 SNS 1, 2 2

CSS

1 Web Web 1,,,, Web, Web : - i -

394-04

経営論集2011_07_小松先生.indd

社会関係資本と外国人に対する寛容さに関する研究―JGSS-2008 の分析から―

16_.....E...._.I.v2006

IPSJ SIG Technical Report Vol.2010-NL-199 No /11/ treebank ( ) KWIC /MeCab / Morphological and Dependency Structure Annotated Corp

& Vol.2 No (Mar. 2012) 1,a) , Bluetooth A Health Management Service by Cell Phones and Its Us

電子マネーと通信産業の戦略

1_26.dvi

.,,, [12].,, [13].,,.,, meal[10]., [11], SNS.,., [14].,,.,,.,,,.,,., Cami-log, , [15], A/D (Powerlab ; ), F- (F-150M, ), ( PC ).,, Chart5(ADIns

IPSJ SIG Technical Report Vol.2009-HCI-134 No /7/17 1. RDB Wiki Wiki RDB SQL Wiki Wiki RDB Wiki RDB Wiki A Wiki System Enhanced by Visibl

IPSJ SIG Technical Report Vol.2014-HCI-157 No.26 Vol.2014-GN-91 No.26 Vol.2014-EC-31 No /3/15 1,a) 2 3 Web (SERP) ( ) Web (VP) SERP VP VP SERP

,.,.,,.,. X Y..,,., [1].,,,.,,.. HCI,,,,,,, i

IPSJ SIG Technical Report Vol.2014-CE-126 No /10/11 1,a) Kinect Support System for Romaji Learning through Exercise Abstract: Educatio

speax55CL 4版

TF-IDF TDF-IDF TDF-IDF Extracting Impression of Sightseeing Spots from Blogs for Supporting Selection of Spots to Visit in Travel Sat

IPSJ SIG Technical Report Vol.2012-IS-119 No /3/ Web A Multi-story e-picture Book with the Degree-of-interest Extraction Function

Web Web Web Web Web, i

Transcription:

Web 1 2 Martin J. Dürst 2 Web Web EPUB Web Mozilla Firefox Web HTML5 XHTML W3C Ruby and Vertical Layout on the Web Implementation and Background HAJIME SHIOZAWA, 1 SHUN-ICHI MATSUBARA 2 and MARTIN J. DÜRST 2 The variety of Web pages has greatly increased in recent years, and the Web is beginning to take over more and more of the roles of printed paper. In particular, the EPUB ebook format, based on HTML and CSS, has attracted much attention recently. Ruby and vertical layout, both used widely in Japanese documents, have been discussed extensively. In this research, we have investigated and implemented ruby and vertical layout in Mozilla Firefox, with the goal of improving typography on the Web. For ruby, our implementation supports HTML5, XHTML, and invalid markup as well as a wide range of styling properties not implemented on other browsers. For vertical layout, we support not only lines ordered from right to left but also from left to right, the combination of horizontal and vertical layouts, as well as multicolumn vertical layout. We also discuss the W3C specifications on ruby and writing-mode. 1. Web 2010 HTML CSS EPUB Web HTML PC Web Web Mozilla Firefox Web Web Web 2. 2.1 2.1.1 1) James Joyce Finnegans Wake 1 Graduate School of Science and Engeneering, Aoyama Gakuin University 2 Colleage of Science and Engeneering, Aoyama Gakuin University 1 c 2011 Information Processing Society of Japan

モノルビ グループルビ 熟 語 ルビ 歩 時 雨 1 熟 語 Fig. 1 Mono-ruby, Group-ruby, Jukugo-ruby. inline annotation 2) Bopomofo 2.1.2 JIS X 4051 3) 3 1 1 2 W3C 4) 2.2 Web Web 3 XHTML Ruby Annotation -W3C Recommendation 5) HTML5 Ruby Markup -W3C Editor s Draft 6) CSS3 Ruby Module -W3C Editor s Draft 7) XHTML HTML5 CSS XHTML HTML5 CSS W3C Recommendation XHTML 2.2.1 XHTML HTML5 XHTML 2 Simple Ruby Complex Ruby 2 <ruby> <rb> <rt> 1 <rb> <rt> <rtc> <rtc> HTML5 3 XHTML <rb> <rt> HTML5 XHTML <rtc> <rbc> 2.2.2 CSS ( 1 ) ruby-position ( 2 ) ruby-align 2 c 2011 Information Processing Society of Japan

<ruby><rb> </rb><rt> </rt></ruby> <ruby> <rbc><rb> </rb><rb> </rb></rbc> <rtc><rt> </rt><rt> </rt></rtc> </ruby> 2 XHTML Fig. 2 An Example of XHTML ruby makrup. <ruby> <rt> </rt></ruby> <ruby> <rt> </rt> <rt> </rt></ruby> 3 HTML5 Fig. 3 An example of HTML5 ruby makrup. ( 3 ) ruby-overhang ( 4 ) ruby-span ruby-position before after ruby-align ruby-overhang 4) ruby-span ruby-span colspan ruby-span 2.3 2.3.1 Mozilla Firefox Mozilla Firefox Firefox HTML DOM Content Frame Content <div> <p> Frame <div> ソースコードdiv </div> <p> </p> <p> <strong> </strong> Content text p 1. 構 ツリー strong p解 析 text TextBlock text text 2. Frame 構 築 Frame 3. Frame ツリー TextTextText Inline Block Reflow 処 理 Fig. 4 4 Mozilla Firefox Process of computing layout on Mozilla Firefox. X HTML CSS 4 Content Content Frame Frame Frame Reflow 2.3.2 nsrubyframe nsrubycontainerframe nsrubycellframe Frame Frame Frame HTML5 XHTML Frame Table Table Frame 20 Frame Reflow Frame Reflow 3 c 2011 Information Processing Society of Japan

1 Table 1 Compatibility of ruby makrup on our firefox and other browsers. HTML5 XHTML XHTML XHTML Internet Explorer 8.0 60% - - Firefox 3.6 23% - - - - Chrome 8.0, Safari 5.0 13% - - Opera 11.0 2% - - - - Amaya 11.3 - - - Our Firefox - <ruby> <rb> </rb><rb> </rb> <rp>(</rp><rt> </rt><rt> </rt><rp>)</rp> </ruby> Fig. 5 5 <rb> <rt> An example of ruby markup with collecting <rb> and <rt>. Yahoo! JAPAN API 1 2.4 2.4.1 1 Firefox Firefox XHTML ruby-align ruby-position ruby-overhang ruby-span Web 2.4.2 Web Web Web EPUB 8) DAISY 9) Web Web Web DOM Web Web 2.4.3 HTML5 <rb> <rb> <rb> <rp> <rb> 5 XHTML XHTML XHTML <rb> <rt> <rb> 2.4.4 ruby-align distribute-letter CSS 1 http://developer.yahoo.co.jp/webapi/jlp/furigana/v1/furigana.html 4 c 2011 Information Processing Society of Japan

line-edge ruby-overhang start end 3. : :ブロック :グリフ 内 向 向 向 3.1 Etemad 10) ( 1 ) block progression ( 2 ) inline progression ( 3 ) glyph orientation 6 12 3.2 CSS Web CSS3 Writing Mode Module -W3C Working Draft 11) CSS3 Writing Mode Etemad 6 Fig. 6 Three properties for specifying writing-direction. ( 1 ) writing-mode ( 2 ) direction ( 3 ) text-orientation writing-mode horizontal-tb vertical-rl vertical-lr direction lr rl Bidi 12) unicode-bidi text-orientation 3.3 7 7 1 2 3 3.3.1 8 5 c 2011 Information Processing Society of Japan

信 青 仰 山 にもとづく 学 院 の 教 育 教 はキリスト 育 をめざし 教 青 山 神 求 すべての の し 前 に 愛 生 と 人 き 奉 と 仕 社 の 真 会 理 に 精 対 神 を する をもって 謙 虚 責 に 任 追 1: すべての 求 し 神 の 信 仰 2: 前 教 育 をめざし にもとづく 異 縦 フォントが 横 人 愛 と 奉 仕 の 精 神 をもって に 生 き 真 理 を 謙 学 虚 院 責 と 社 会 に 対 する の 任 追 教 育 各 なる 書 き へ き から 向 への 字 の 変 換 処 理 はキリスト 3: 全 ての の 座 標 変 換 7 Fig. 7 Process of translation to other writing-mode. 90 90 Frame 3.3.2 90 Windows text-orinentaiton 3.3.3 3.4 3.4.1 Web Web Web Web Web Braganza 13) Web インライン インライン 処 理 は 二 処 つの 理 は 段 二 階 つの を 経 段 る階 を 経 る インライン グリフ 回 転 回 転 8 Fig. 8 Two process of generating a vertical line. 6 c 2011 Information Processing Society of Japan

left/ startをもtop/ before width bottom/ after right/ endlogical height/ height top/ 青 スト 育 実 width/ をめざし に 山 教 生 学 信 き 院 仰 logical 追 究 の 真 にもとづく 教 神 理 育 の を は キリ horizontal-tb 愛 と 奉 仕 前 の 謙 に 精 虚 教 真 神 に Physical/ Logical after left/ height bottom/ end right/ beforelogical height/ width width/ 愛 と 奉 仕 の 精 神 を 真 理 を 謙 虚 に logical 追 究 し 神 の 前 に 真 実 生 き start とづく 教 育 をめざし キリスト 教 信 仰 にも 教 育 は 青 山 学 vertical-rl院 の Fig. 10 10 Relation of physical properties and logical properties. 9 Fig. 9 An example of multicolumn vertical layout. 9 3.4.2 before after left right logical-width logical-height start end before after 10 10 11 3.4.3 CSS height 7 c 2011 Information Processing Society of Japan

右 字 に 列 余 :あいう わをんレイアウト :50px 計 算 11 Fig. 11 Problem of block progression process. 5px 変 換 右 の 余 が 5px下 に る height 100vh viewport height 4. Web W3C HTML5 XHTML XHTML ruby-span CSS 1).., Vol.2, No.7, pp. 556 562, 1973. 2). HTML, Unicode., 1998-IM-34, pp. 17 22, 1998. 3). JIS X 4051:, 2004. 4),,, Richard Ishida,,,,, Felix. W3C. http://www.w3.org/tr/jlreq/ja/, 2009. 5) Michel Suignard, Masayasu Ishikawa, Martin Dürst, and Tex Texin. Ruby Annotation W3C Recommendation. http://www.w3.org/tr/ruby/, 2001. 6) Ian Hickson. HTML5 A vocabulary and associated APIs for HTML and XHTML W3C Working Draft. http://www.w3.org/tr/html5/, 2010. 7) Richard Ishida. CSS3 Ruby Module W3C Working Draft. http://dev.w3.org/ csswg/css3-ruby/, 2010. 8) Garth Conboy, Matt Garrish, Markus Gylling, William McCoy, Makoto MURATA, and Daniel Weck. EPUB 3 Overview -Working Draft. http://idpf.org/epub/30/spec/ epub30-overview.html, 2011. 9) National Information Standards Organization. ANSI/NISO Z39.86: Specifications for the Digital Talking Book, 2005. 10) Elika Etemad. Robust Vertical Text Layout. In Proceedings of 27th International Unicode Conference, 2005. 11) Elika Etemad, Koji Ishii, and Shinyu Murakami. CSS Writing Modes Module Level 3 W3C Working Draft. http://www.w3.org/tr/css3-writing-modes/, 2010. 12) Mark Davis. USA#9: Unicode Bidirectional Alogrithm. http://www.unicode.org/ reports/tr9/, 2010. 13) Cameron Braganza, Kim Marriott, Peter Moulder, Michael Wybrow, and Tim Dwyer. Scrolling Behaviour with Single- and Multi-Column Layout. In Proceedings of the 18th International World Wide Web Conference, 2009. 8 c 2011 Information Processing Society of Japan