Bug 220043 - iOS 14.3 Safari can't print vertical-rl content correctly
Summary: iOS 14.3 Safari can't print vertical-rl content correctly
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Printing (show other bugs)
Version: Safari 14
Hardware: iPhone / iPad iOS 14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-12-20 04:13 PST by Meng-Yuan Huang
Modified: 2024-02-20 13:41 PST (History)
8 users (show)

See Also:


Attachments
Most printing previews are blank pages. (351.41 KB, image/png)
2020-12-20 04:13 PST, Meng-Yuan Huang
no flags Details
Mongolian botched in rl or lr (267.74 KB, image/jpeg)
2024-02-16 13:56 PST, Shufei
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Meng-Yuan Huang 2020-12-20 04:13:44 PST
Created attachment 416578 [details]
Most printing previews are blank pages.

I design an ePub viewer app with CSS "writing-mode: vertical-rl" support.
The app also supports content printing.
Chrome 87 on Windows or macOS can correctly print content in both horizontal-tb and vertical-rl modes.
However, iOS 14.3 Safari can't print them correctly in vertical-rl mode. Most printing previews are blank pages. See the attached screenshot.

For example:
1. Open this link:
https://mrmyhuang.github.io/catalog/juan/T0396/1?settings=rtlVerticalLayout=1
2. Click the top right three dots button.
3. Click the item with a printer icon and a label "列印."
4. Check the printing previews...

Please fix the printing support for vertical-rl content.

If anyone needs the app sources for debugging, please follow these steps:
1. Run the bash script:
git clone git@github.com:MrMYHuang/cbetar2.git
cd cbetar2
npm i -D
npm run start

2. Open the link:
http://localhost:3000/catalog/juan/T0396/1?settings=rtlVerticalLayout=1
Comment 1 Smoley 2020-12-22 11:55:29 PST
Thanks for filing, I can reproduce this on iOS 13.6.1 as well as the latest iOS 14.4 beta. 3/4 pages also appear blank in print previews on macOS as well.
Comment 2 Radar WebKit Bug Importer 2020-12-22 11:55:43 PST
<rdar://problem/72595375>
Comment 3 Shufei 2024-02-16 13:56:20 PST
Created attachment 469928 [details]
Mongolian botched in rl or lr

I’m really tired of this hive of bugs for CJK or otherwise.  Attachment is for the Mongolian text test page.  It does this with any Mongolian, Phags-pa, Uyighur text, rl or lr, doesn’t matter.  CJK is perpetually b0rked, too.  IpadOS 16.7.5.