SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
1
LibreOffice Aarhus 2015 Conference Presentation
Vertical Writing:
typical use-cases and current status in
LibreOffice
Naruhiko Ogasawara
LibreOffice Japanese Team
2
LibreOffice Aarhus 2015 Conference Presentation
Agenda
Japanese vertical writing basics and use-cases
Current implementation of LibreOffice vertical
writing
Deeper look from the end-user point of view
Conclusion
3
LibreOffice Aarhus 2015 Conference Presentation
Japanese vertical writing basics
and use-cases
4
LibreOffice Aarhus 2015 Conference Presentation
Japanese specific text rendering
Vertical Writing (TTB)
Top to bottom, right to left
Used by Japanese, Chinese
Only for text writing, NOT UI
Ruby
Pronounciation expression
See:
Requirements for Japanese Text Layout
by W3C Working Group Note 3 April 2012
http://www.w3.org/TR/jlreq/
5
LibreOffice Aarhus 2015 Conference Presentation
Vertical Writing Basic (from the W3C document)
http://www.w3.org/TR/jlreq/#vertical_writing_
mode_and_horizontal_writing_mode
Vertical Writing
縦組; tate gumi
The process or the result of
arranging characters on a line
from top to bottom, of lines on a
page from right to left, and/or of
columns on a page from top to
bottom. (JIS Z 8125)
Requirements for Japanese Text Layout
Appendix G Terminology
http://www.w3.org/TR/jlreq/#term.vertical-writing-mode
6
LibreOffice Aarhus 2015 Conference Presentation
Typical use-cases of vertical writing
Non-technical / Scientific
publications
Novels①
Magazine②
Papers
Business/Popular
Science books
School Education
Letter③
Diploma④
See “Credits” page for copyright
informatoins of each images
②
①
③
④
7
LibreOffice Aarhus 2015 Conference Presentation
Typical use-cases of vertical writing
Non-technical / Scientific
publications
Novels①
Magazine②
Papers
Business/Popular
Science books
School Education
Letter③
Diploma④
See “Credits” page for copyright
informatoins of each images
②
①
③
④
NOT for specific people
Used in usual business
8
LibreOffice Aarhus 2015 Conference Presentation
Vertical Writing is key feature for...
(non-professional) Novel writers
… to publish their novels personally
Teachers
… to make drills / exams / subtexts
Public Organizations
… to make “FORMAL” letters
Elder people thought vertical writing letter is
more formal in our culture
… to create their own magazine / papers
9
LibreOffice Aarhus 2015 Conference Presentation
Current implementation of LibreOffice
vertical writing
10
LibreOffice Aarhus 2015 Conference Presentation
LibreOffice for Japanese
Translations
UI / Help
Release Notes / Annoucements
Documents...
Functions
Basic CJK text rendering (CTL Support)
Japanese specific rendering (see next slide)
JP locale specific features
e.g. Japanese Calender
11
LibreOffice Aarhus 2015 Conference Presentation
How to use vertical writing
Need to enable “Asian” language support in Option
Language Settings Langugage▶ ▶
Format Page Text Direction appers (in Writer)▶ ▶
12
LibreOffice Aarhus 2015 Conference Presentation
How to use vertical writing (cont'd)
Format Page Text Direction appers (in Writer)▶ ▶
… or “vertical text” box icon can be seen in the
“Drawing” toolbar (Calc, Impress and Draw)
13
LibreOffice Aarhus 2015 Conference Presentation
Functionality
Page can be set text direction
in Writer
Or create “vertical writing” box
as well (Calc, Impress, Draw)
Basically works well
Even vertical-writing support
fonts are needed
Several “corner-case” bugs
… will discussed later
IPA Gothic Noto Sans CJS
14
LibreOffice Aarhus 2015 Conference Presentation
Implementation
Starting point:
b14861e1dfb9f83d26d6032ae96b664845528f2a
Fix tdf#77514 CJK ruby text in RTL( vertical ) base line issue.
Thanks Mark Hung to his great works about CJK!!!
Looking into this…
IsVertical() function tell us it's in vertical writing mode
git grep “IsVertical()” sw
Many many many…
X-(
if (xxx->IsVertical()) {
...
15
LibreOffice Aarhus 2015 Conference Presentation
Implementation (cont.d)
Back to the document and found the “swapped frame”
“The three main tasks of the
text formatting (formatting
paragraphs, painting of text
and cursor travelling) are
performed on swapped
frames and afterwards the
results are translated back.”
“Writer/Text Formatting” - “Vertical formatting”
https://wiki.openoffice.org/wiki/Writer/
Text_Formatting#Vertical_Formatting
16
LibreOffice Aarhus 2015 Conference Presentation
Implementation (cont.d)
Back to the document and found the “swapped frame”
“The three main tasks of the
text formatting (formatting
paragraphs, painting of text
and cursor travelling) are
performed on swapped
frames and afterwards the
results are translated back.”
“Writer/Text Formatting” - “Vertical formatting”
https://wiki.openoffice.org/wiki/Writer/
Text_Formatting#Vertical_Formatting
Time up!
17
LibreOffice Aarhus 2015 Conference Presentation
Deeper look of LibreOffice vertical writing
… Functional (end-users) view
Note: the goal of this talk is NOT reporting bugs,
my point is there are many “corner case”
specifications that should be cared by us
(Japanese users / developers)
18
LibreOffice Aarhus 2015 Conference Presentation
Problem with input method…?
Seems the effect of font metrics
e.g., IPA Gothic vs. Hiragino
Rendering bug in Mac OS X
19
LibreOffice Aarhus 2015 Conference Presentation
Proportional fonts
Basically, non-proportional fonts should
be used in vertical writing mode
However, default font sets of Writer are
proportional
Easy to make a mistake
There are several rendering issues with
proportional fonts
Wrong usage but MS Word seems OK
Having a specific default font for
vertical writing is considerable option
5.0 Ubuntu
IPA Gothic
20
LibreOffice Aarhus 2015 Conference Presentation
Western characters
Basically, western characters should
rotate 90° clockwize
If you won't, use FULLWIDTH LATIN
(U+FF21-FF3A, U+FF41-FF5A)
In OS X, the rotating doesn't work if
we combined Western font
IPA Gothic + Liberation Sans
Using Hiragino, not only as Asian
font but also Western font is OK
↓5.0 Ubuntu
IPA Gothic +
Liberatioon Sans
5.0 OS X↑
IPA Gothic +
Liberatioon Sans
21
LibreOffice Aarhus 2015 Conference Presentation
Horizontal-in-vertical composition
Horizontal-in-vertical composition
( 縦中横; tate-chu-yoko)
Format Character... Position▶ ▶
Rotation / Scaling: 90 degrees
Hard do find for end users
Any shortcut?
MS Word has ;)
(could be an extension??)
22
LibreOffice Aarhus 2015 Conference Presentation
Minor UI Issues
Common:
Some images indicate a form of
document should be rotated
Tool Bars
Icons are OK, but tooltips aren't
Side Bars
Icons don't rotate
“text direction” icons doesn't
exist even the “text formatting”
toolbar has
23
LibreOffice Aarhus 2015 Conference Presentation
Minor UI Issues (cont'd)
Format Page, “Columns” tab▶
Image preview tells columns split vertically,
But actually split horizontally
24
LibreOffice Aarhus 2015 Conference Presentation
Conclusion
25
LibreOffice Aarhus 2015 Conference Presentation
Vertical Writing is...
Works well in generally use, but there is some
room to improve
To fix rendering problems, deep dive into Writer's
(complex) rendering code
But we, Japanese, must try because we know
how vertical writing should work
Some UI improvements are good exercises for
development newbie (like me!)
Vertical Writing in LibreOffice is...
Used in normal documents, in usual business scene
Key feature for some kind of people
26
LibreOffice Aarhus 2015 Conference Presentation
All text and image content in this document is licensed under the Creative Commons Attribution-Share Alike 3.0 License
(unless otherwise specified). "LibreOffice" and "The Document Foundation" are registered trademarks. Their respective logos
and icons are subject to international copyright laws. The use of these therefore is subject to the trademark policy.
Thank you having an interest!
I hope I will fix a “easy-to-fix” bug in the term of this
conference
Please brave, and mentor me :)
27
LibreOffice Aarhus 2015 Conference Presentation
Credits
① Mori Ōgai, “Takasebune,” Aozora-bunko
http://www.aozora.gr.jp/cards/000129/card45245.html
Public Domain
②ASCII Media Works, Ubuntu Magazine Japan vol.10
http://ubuntu.asciimw.jp/elem/000/000/010/10558/UM10_P4-7.pdf
Creative Commons 3.0 BY-NC-SA
③ お礼状、案内状、手紙の書き方と例文
(Writing how-to and examples of thanks letters, invitation letters
and other letters)
http://letter.sincerite-shop.com/sub38.html
④Wikipedia 「賞状」 (Diploma)
https://ja.wikipedia.org/wiki/%E8%B3%9E%E7%8A%B6

Weitere ähnliche Inhalte

Was ist angesagt?

Geeko Magazine: A Technical Magazine on openSUSE, edited on openSUSE―openSUSE...
Geeko Magazine: A Technical Magazine on openSUSE, edited on openSUSE―openSUSE...Geeko Magazine: A Technical Magazine on openSUSE, edited on openSUSE―openSUSE...
Geeko Magazine: A Technical Magazine on openSUSE, edited on openSUSE―openSUSE...
Fuminobu Takeyama
 
[Ubucon Asia 2021] The challenge of Using LibreOffice & Building Local Commun...
[Ubucon Asia 2021] The challenge of Using LibreOffice & Building Local Commun...[Ubucon Asia 2021] The challenge of Using LibreOffice & Building Local Commun...
[Ubucon Asia 2021] The challenge of Using LibreOffice & Building Local Commun...
DaeHyun Sung
 

Was ist angesagt? (14)

LibreOffice Conference 2016 -- Something About Macros
LibreOffice Conference 2016 -- Something About MacrosLibreOffice Conference 2016 -- Something About Macros
LibreOffice Conference 2016 -- Something About Macros
 
Building LibreOffice Korean Community and CJK common & different issues
Building LibreOffice Korean Community and CJK common & different issuesBuilding LibreOffice Korean Community and CJK common & different issues
Building LibreOffice Korean Community and CJK common & different issues
 
Intro to libre_office
Intro to libre_officeIntro to libre_office
Intro to libre_office
 
The LibreOffice Human Interface Guidelines (HIG)
The LibreOffice Human Interface Guidelines (HIG)The LibreOffice Human Interface Guidelines (HIG)
The LibreOffice Human Interface Guidelines (HIG)
 
Engaging new l10n contributors through Open Source Contributhon
Engaging new l10n contributors through Open Source ContributhonEngaging new l10n contributors through Open Source Contributhon
Engaging new l10n contributors through Open Source Contributhon
 
LibreOffice Training Presentation
LibreOffice Training PresentationLibreOffice Training Presentation
LibreOffice Training Presentation
 
State of CJK issues of LibreOffice, 2019 edition
State of CJK issues of LibreOffice, 2019 editionState of CJK issues of LibreOffice, 2019 edition
State of CJK issues of LibreOffice, 2019 edition
 
LibreOffice Development
LibreOffice DevelopmentLibreOffice Development
LibreOffice Development
 
[Lightning talk] My First Contribution of Taiwanese Project
[Lightning talk] My First Contribution of Taiwanese Project[Lightning talk] My First Contribution of Taiwanese Project
[Lightning talk] My First Contribution of Taiwanese Project
 
[LibreOffice Korea-Japan online Seminar] Introduce to LibreOffice & Korean Is...
[LibreOffice Korea-Japan online Seminar] Introduce to LibreOffice & Korean Is...[LibreOffice Korea-Japan online Seminar] Introduce to LibreOffice & Korean Is...
[LibreOffice Korea-Japan online Seminar] Introduce to LibreOffice & Korean Is...
 
Geeko Magazine: A Technical Magazine on openSUSE, edited on openSUSE―openSUSE...
Geeko Magazine: A Technical Magazine on openSUSE, edited on openSUSE―openSUSE...Geeko Magazine: A Technical Magazine on openSUSE, edited on openSUSE―openSUSE...
Geeko Magazine: A Technical Magazine on openSUSE, edited on openSUSE―openSUSE...
 
[Ubucon Asia 2021] The challenge of Using LibreOffice & Building Local Commun...
[Ubucon Asia 2021] The challenge of Using LibreOffice & Building Local Commun...[Ubucon Asia 2021] The challenge of Using LibreOffice & Building Local Commun...
[Ubucon Asia 2021] The challenge of Using LibreOffice & Building Local Commun...
 
[LibreOffice conference 2021] The challenge of Using LibreOffice & Building L...
[LibreOffice conference 2021] The challenge of Using LibreOffice & Building L...[LibreOffice conference 2021] The challenge of Using LibreOffice & Building L...
[LibreOffice conference 2021] The challenge of Using LibreOffice & Building L...
 
Advice to LibreOffice migration Example in Fukuoka, Japan
Advice to LibreOffice migration Example in Fukuoka, JapanAdvice to LibreOffice migration Example in Fukuoka, Japan
Advice to LibreOffice migration Example in Fukuoka, Japan
 

Ähnlich wie Vertical Writing: typical use-cases and current status in LibreOffice

Ähnlich wie Vertical Writing: typical use-cases and current status in LibreOffice (20)

The Next Step of LibreOffice non-English Local Communities - LibreOffice Conf...
The Next Step of LibreOffice non-English Local Communities - LibreOffice Conf...The Next Step of LibreOffice non-English Local Communities - LibreOffice Conf...
The Next Step of LibreOffice non-English Local Communities - LibreOffice Conf...
 
Improve features about our language: CJK issues of LibreOffice in 2022
Improve features about our language: CJK issues of LibreOffice in 2022Improve features about our language: CJK issues of LibreOffice in 2022
Improve features about our language: CJK issues of LibreOffice in 2022
 
State of CJK issues of LibreOffice 2019
State of CJK issues of LibreOffice 2019State of CJK issues of LibreOffice 2019
State of CJK issues of LibreOffice 2019
 
Building LibreOffice local community in Japan through event handling
Building LibreOffice local community in Japan through event handlingBuilding LibreOffice local community in Japan through event handling
Building LibreOffice local community in Japan through event handling
 
Translation ; Recent Information about LibreOffice
Translation ; Recent Information about LibreOfficeTranslation ; Recent Information about LibreOffice
Translation ; Recent Information about LibreOffice
 
Language-Oriented Business Applications
Language-Oriented Business ApplicationsLanguage-Oriented Business Applications
Language-Oriented Business Applications
 
libocon16_uxdraw
libocon16_uxdrawlibocon16_uxdraw
libocon16_uxdraw
 
Nguyen Vu Hung: A Case Study on Vietnamese Localization for LibreOffice - Li...
Nguyen Vu Hung:  A Case Study on Vietnamese Localization for LibreOffice - Li...Nguyen Vu Hung:  A Case Study on Vietnamese Localization for LibreOffice - Li...
Nguyen Vu Hung: A Case Study on Vietnamese Localization for LibreOffice - Li...
 
Nguyễn Vũ Hưng: LibreOffice 3.4 New Features
Nguyễn Vũ Hưng: LibreOffice 3.4 New FeaturesNguyễn Vũ Hưng: LibreOffice 3.4 New Features
Nguyễn Vũ Hưng: LibreOffice 3.4 New Features
 
The Migration of ULSS5 (e-health LibreOffice)
The Migration of ULSS5 (e-health LibreOffice)The Migration of ULSS5 (e-health LibreOffice)
The Migration of ULSS5 (e-health LibreOffice)
 
State of CJK issues of LibreOffice, 2018 edition
State of CJK issues of LibreOffice,  2018 editionState of CJK issues of LibreOffice,  2018 edition
State of CJK issues of LibreOffice, 2018 edition
 
vbaintro.pdf
vbaintro.pdfvbaintro.pdf
vbaintro.pdf
 
LibreOffice Online
LibreOffice OnlineLibreOffice Online
LibreOffice Online
 
Koffice for mobile productivity
Koffice for mobile productivityKoffice for mobile productivity
Koffice for mobile productivity
 
Vbasic
VbasicVbasic
Vbasic
 
Status of CJK language support in LibreOffice 2023.pdf
Status of CJK language support in LibreOffice 2023.pdfStatus of CJK language support in LibreOffice 2023.pdf
Status of CJK language support in LibreOffice 2023.pdf
 
libocon16_areafill
libocon16_areafilllibocon16_areafill
libocon16_areafill
 
Open Source Tools for User Assistance
Open Source Tools for User AssistanceOpen Source Tools for User Assistance
Open Source Tools for User Assistance
 
LibreOffice Conf 2011 Desktop Publishing
LibreOffice Conf 2011 Desktop PublishingLibreOffice Conf 2011 Desktop Publishing
LibreOffice Conf 2011 Desktop Publishing
 
Visual basic
Visual basicVisual basic
Visual basic
 

Mehr von Naruhiko Ogasawara

Mehr von Naruhiko Ogasawara (20)

さらばデスクトップ?モバイル・クラウド時代のLibreOfficeの挑戦/LibreOffice current status, or the chall...
さらばデスクトップ?モバイル・クラウド時代のLibreOfficeの挑戦/LibreOffice current status, or the chall...さらばデスクトップ?モバイル・クラウド時代のLibreOfficeの挑戦/LibreOffice current status, or the chall...
さらばデスクトップ?モバイル・クラウド時代のLibreOfficeの挑戦/LibreOffice current status, or the chall...
 
最新のデスクトップアプリを使おう:Snap, Flatpak, AppImage
最新のデスクトップアプリを使おう:Snap, Flatpak, AppImage最新のデスクトップアプリを使おう:Snap, Flatpak, AppImage
最新のデスクトップアプリを使おう:Snap, Flatpak, AppImage
 
LibreOffice Asia Conference 2019 Tokyo; what we had achieved, and what's next
LibreOffice Asia Conference 2019 Tokyo; what we had achieved, and what's nextLibreOffice Asia Conference 2019 Tokyo; what we had achieved, and what's next
LibreOffice Asia Conference 2019 Tokyo; what we had achieved, and what's next
 
小江戸らぐBBQ 2019
小江戸らぐBBQ 2019小江戸らぐBBQ 2019
小江戸らぐBBQ 2019
 
The Document Foundationについて / About The Document Foundation
The Document Foundationについて / About The Document FoundationThe Document Foundationについて / About The Document Foundation
The Document Foundationについて / About The Document Foundation
 
TDFと寄付、メンバーシップ、認定制度 / TDF and donation, membership and certification
TDFと寄付、メンバーシップ、認定制度 / TDF and donation, membership and certificationTDFと寄付、メンバーシップ、認定制度 / TDF and donation, membership and certification
TDFと寄付、メンバーシップ、認定制度 / TDF and donation, membership and certification
 
Building a bridge between Japanese LibreOffice community and the world
Building a bridge between Japanese LibreOffice community and the worldBuilding a bridge between Japanese LibreOffice community and the world
Building a bridge between Japanese LibreOffice community and the world
 
Happy Software Freedom Day! (Koedo Linux Users Group, Tokyo, Japan)
Happy Software Freedom Day! (Koedo Linux Users Group, Tokyo, Japan)Happy Software Freedom Day! (Koedo Linux Users Group, Tokyo, Japan)
Happy Software Freedom Day! (Koedo Linux Users Group, Tokyo, Japan)
 
宣伝:SeleniumConf Tokyo 2019やりますよ!
宣伝:SeleniumConf Tokyo 2019やりますよ!宣伝:SeleniumConf Tokyo 2019やりますよ!
宣伝:SeleniumConf Tokyo 2019やりますよ!
 
Using latest LibreOffice on openSUSE Leap 15 - by modern packaging systems
Using latest LibreOffice on openSUSE Leap 15 - by modern packaging systemsUsing latest LibreOffice on openSUSE Leap 15 - by modern packaging systems
Using latest LibreOffice on openSUSE Leap 15 - by modern packaging systems
 
The Document Foundationについて
The Document FoundationについてThe Document Foundationについて
The Document Foundationについて
 
告知 ー OSnuC Kawagoe 2018
告知 ー OSnuC Kawagoe 2018告知 ー OSnuC Kawagoe 2018
告知 ー OSnuC Kawagoe 2018
 
LibreOffice: The Office Suite with Mixing Bowl Culture
LibreOffice: The Office Suite with Mixing Bowl CultureLibreOffice: The Office Suite with Mixing Bowl Culture
LibreOffice: The Office Suite with Mixing Bowl Culture
 
Make It Better Together: コミュニティを主体としたLibreOffice翻訳 / : Community-centered Lib...
Make It Better Together: コミュニティを主体としたLibreOffice翻訳 / : Community-centered Lib...Make It Better Together: コミュニティを主体としたLibreOffice翻訳 / : Community-centered Lib...
Make It Better Together: コミュニティを主体としたLibreOffice翻訳 / : Community-centered Lib...
 
Hospital days in czech / チェコで入院した話
Hospital days in czech / チェコで入院した話Hospital days in czech / チェコで入院した話
Hospital days in czech / チェコで入院した話
 
openSUSEユーザーに向けたLibreOffice入門 / Introduction of LibreOffice for openSUSE users
openSUSEユーザーに向けたLibreOffice入門 / Introduction of LibreOffice for openSUSE usersopenSUSEユーザーに向けたLibreOffice入門 / Introduction of LibreOffice for openSUSE users
openSUSEユーザーに向けたLibreOffice入門 / Introduction of LibreOffice for openSUSE users
 
Webブラウザで動くOSSオフィスソフト、LibreOffice Onlineの中身に迫る / LibreOffice Online Implementa...
Webブラウザで動くOSSオフィスソフト、LibreOffice Onlineの中身に迫る / LibreOffice Online Implementa...Webブラウザで動くOSSオフィスソフト、LibreOffice Onlineの中身に迫る / LibreOffice Online Implementa...
Webブラウザで動くOSSオフィスソフト、LibreOffice Onlineの中身に迫る / LibreOffice Online Implementa...
 
LibreOfficeの最新動向 / LibreOffice current status
LibreOfficeの最新動向 / LibreOffice current statusLibreOfficeの最新動向 / LibreOffice current status
LibreOfficeの最新動向 / LibreOffice current status
 
LibreOffice, the free office productive suite and it's status of accessibilit...
LibreOffice, the free office productive suite and it's status of accessibilit...LibreOffice, the free office productive suite and it's status of accessibilit...
LibreOffice, the free office productive suite and it's status of accessibilit...
 
小江戸らぐ 第154回飯能河原BBQオフ(春の宴)にいて
小江戸らぐ 第154回飯能河原BBQオフ(春の宴)にいて小江戸らぐ 第154回飯能河原BBQオフ(春の宴)にいて
小江戸らぐ 第154回飯能河原BBQオフ(春の宴)にいて
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

Vertical Writing: typical use-cases and current status in LibreOffice

  • 1. 1 LibreOffice Aarhus 2015 Conference Presentation Vertical Writing: typical use-cases and current status in LibreOffice Naruhiko Ogasawara LibreOffice Japanese Team
  • 2. 2 LibreOffice Aarhus 2015 Conference Presentation Agenda Japanese vertical writing basics and use-cases Current implementation of LibreOffice vertical writing Deeper look from the end-user point of view Conclusion
  • 3. 3 LibreOffice Aarhus 2015 Conference Presentation Japanese vertical writing basics and use-cases
  • 4. 4 LibreOffice Aarhus 2015 Conference Presentation Japanese specific text rendering Vertical Writing (TTB) Top to bottom, right to left Used by Japanese, Chinese Only for text writing, NOT UI Ruby Pronounciation expression See: Requirements for Japanese Text Layout by W3C Working Group Note 3 April 2012 http://www.w3.org/TR/jlreq/
  • 5. 5 LibreOffice Aarhus 2015 Conference Presentation Vertical Writing Basic (from the W3C document) http://www.w3.org/TR/jlreq/#vertical_writing_ mode_and_horizontal_writing_mode Vertical Writing 縦組; tate gumi The process or the result of arranging characters on a line from top to bottom, of lines on a page from right to left, and/or of columns on a page from top to bottom. (JIS Z 8125) Requirements for Japanese Text Layout Appendix G Terminology http://www.w3.org/TR/jlreq/#term.vertical-writing-mode
  • 6. 6 LibreOffice Aarhus 2015 Conference Presentation Typical use-cases of vertical writing Non-technical / Scientific publications Novels① Magazine② Papers Business/Popular Science books School Education Letter③ Diploma④ See “Credits” page for copyright informatoins of each images ② ① ③ ④
  • 7. 7 LibreOffice Aarhus 2015 Conference Presentation Typical use-cases of vertical writing Non-technical / Scientific publications Novels① Magazine② Papers Business/Popular Science books School Education Letter③ Diploma④ See “Credits” page for copyright informatoins of each images ② ① ③ ④ NOT for specific people Used in usual business
  • 8. 8 LibreOffice Aarhus 2015 Conference Presentation Vertical Writing is key feature for... (non-professional) Novel writers … to publish their novels personally Teachers … to make drills / exams / subtexts Public Organizations … to make “FORMAL” letters Elder people thought vertical writing letter is more formal in our culture … to create their own magazine / papers
  • 9. 9 LibreOffice Aarhus 2015 Conference Presentation Current implementation of LibreOffice vertical writing
  • 10. 10 LibreOffice Aarhus 2015 Conference Presentation LibreOffice for Japanese Translations UI / Help Release Notes / Annoucements Documents... Functions Basic CJK text rendering (CTL Support) Japanese specific rendering (see next slide) JP locale specific features e.g. Japanese Calender
  • 11. 11 LibreOffice Aarhus 2015 Conference Presentation How to use vertical writing Need to enable “Asian” language support in Option Language Settings Langugage▶ ▶ Format Page Text Direction appers (in Writer)▶ ▶
  • 12. 12 LibreOffice Aarhus 2015 Conference Presentation How to use vertical writing (cont'd) Format Page Text Direction appers (in Writer)▶ ▶ … or “vertical text” box icon can be seen in the “Drawing” toolbar (Calc, Impress and Draw)
  • 13. 13 LibreOffice Aarhus 2015 Conference Presentation Functionality Page can be set text direction in Writer Or create “vertical writing” box as well (Calc, Impress, Draw) Basically works well Even vertical-writing support fonts are needed Several “corner-case” bugs … will discussed later IPA Gothic Noto Sans CJS
  • 14. 14 LibreOffice Aarhus 2015 Conference Presentation Implementation Starting point: b14861e1dfb9f83d26d6032ae96b664845528f2a Fix tdf#77514 CJK ruby text in RTL( vertical ) base line issue. Thanks Mark Hung to his great works about CJK!!! Looking into this… IsVertical() function tell us it's in vertical writing mode git grep “IsVertical()” sw Many many many… X-( if (xxx->IsVertical()) { ...
  • 15. 15 LibreOffice Aarhus 2015 Conference Presentation Implementation (cont.d) Back to the document and found the “swapped frame” “The three main tasks of the text formatting (formatting paragraphs, painting of text and cursor travelling) are performed on swapped frames and afterwards the results are translated back.” “Writer/Text Formatting” - “Vertical formatting” https://wiki.openoffice.org/wiki/Writer/ Text_Formatting#Vertical_Formatting
  • 16. 16 LibreOffice Aarhus 2015 Conference Presentation Implementation (cont.d) Back to the document and found the “swapped frame” “The three main tasks of the text formatting (formatting paragraphs, painting of text and cursor travelling) are performed on swapped frames and afterwards the results are translated back.” “Writer/Text Formatting” - “Vertical formatting” https://wiki.openoffice.org/wiki/Writer/ Text_Formatting#Vertical_Formatting Time up!
  • 17. 17 LibreOffice Aarhus 2015 Conference Presentation Deeper look of LibreOffice vertical writing … Functional (end-users) view Note: the goal of this talk is NOT reporting bugs, my point is there are many “corner case” specifications that should be cared by us (Japanese users / developers)
  • 18. 18 LibreOffice Aarhus 2015 Conference Presentation Problem with input method…? Seems the effect of font metrics e.g., IPA Gothic vs. Hiragino Rendering bug in Mac OS X
  • 19. 19 LibreOffice Aarhus 2015 Conference Presentation Proportional fonts Basically, non-proportional fonts should be used in vertical writing mode However, default font sets of Writer are proportional Easy to make a mistake There are several rendering issues with proportional fonts Wrong usage but MS Word seems OK Having a specific default font for vertical writing is considerable option 5.0 Ubuntu IPA Gothic
  • 20. 20 LibreOffice Aarhus 2015 Conference Presentation Western characters Basically, western characters should rotate 90° clockwize If you won't, use FULLWIDTH LATIN (U+FF21-FF3A, U+FF41-FF5A) In OS X, the rotating doesn't work if we combined Western font IPA Gothic + Liberation Sans Using Hiragino, not only as Asian font but also Western font is OK ↓5.0 Ubuntu IPA Gothic + Liberatioon Sans 5.0 OS X↑ IPA Gothic + Liberatioon Sans
  • 21. 21 LibreOffice Aarhus 2015 Conference Presentation Horizontal-in-vertical composition Horizontal-in-vertical composition ( 縦中横; tate-chu-yoko) Format Character... Position▶ ▶ Rotation / Scaling: 90 degrees Hard do find for end users Any shortcut? MS Word has ;) (could be an extension??)
  • 22. 22 LibreOffice Aarhus 2015 Conference Presentation Minor UI Issues Common: Some images indicate a form of document should be rotated Tool Bars Icons are OK, but tooltips aren't Side Bars Icons don't rotate “text direction” icons doesn't exist even the “text formatting” toolbar has
  • 23. 23 LibreOffice Aarhus 2015 Conference Presentation Minor UI Issues (cont'd) Format Page, “Columns” tab▶ Image preview tells columns split vertically, But actually split horizontally
  • 24. 24 LibreOffice Aarhus 2015 Conference Presentation Conclusion
  • 25. 25 LibreOffice Aarhus 2015 Conference Presentation Vertical Writing is... Works well in generally use, but there is some room to improve To fix rendering problems, deep dive into Writer's (complex) rendering code But we, Japanese, must try because we know how vertical writing should work Some UI improvements are good exercises for development newbie (like me!) Vertical Writing in LibreOffice is... Used in normal documents, in usual business scene Key feature for some kind of people
  • 26. 26 LibreOffice Aarhus 2015 Conference Presentation All text and image content in this document is licensed under the Creative Commons Attribution-Share Alike 3.0 License (unless otherwise specified). "LibreOffice" and "The Document Foundation" are registered trademarks. Their respective logos and icons are subject to international copyright laws. The use of these therefore is subject to the trademark policy. Thank you having an interest! I hope I will fix a “easy-to-fix” bug in the term of this conference Please brave, and mentor me :)
  • 27. 27 LibreOffice Aarhus 2015 Conference Presentation Credits ① Mori Ōgai, “Takasebune,” Aozora-bunko http://www.aozora.gr.jp/cards/000129/card45245.html Public Domain ②ASCII Media Works, Ubuntu Magazine Japan vol.10 http://ubuntu.asciimw.jp/elem/000/000/010/10558/UM10_P4-7.pdf Creative Commons 3.0 BY-NC-SA ③ お礼状、案内状、手紙の書き方と例文 (Writing how-to and examples of thanks letters, invitation letters and other letters) http://letter.sincerite-shop.com/sub38.html ④Wikipedia 「賞状」 (Diploma) https://ja.wikipedia.org/wiki/%E8%B3%9E%E7%8A%B6