Emojis not scaleable in WebView

Originator:tobias.banaszak
Number:rdar://21356698 Date Originated:12-Jun-2015 02:27 PM
Status:Closed/Duplicate 19435272 Resolved:
Product:iOS Product Version:iOS 7, iOS 8, iOS 9
Classification:other bug Reproducible:always
 
Summary:
I want to display text in a UIWebView. I prepare the string and load it into the webview. If i put the html style="font-size:72px;" around my text including the emoji, the text ist scale, but the emoji isnt.

Steps to Reproduce:
1. Prepare a NSString with the following Content: (note the emoji inbetween the text)
<html>
<head><meta name="viewport" content="width=device-width"/>
</head>
<body>
<p><span style="font-size:72px;">emo😱ji!</span></p>
</body>
</html>


2. use loadHTMLString:baseURL of a webView with the string from 1. and "nil" for baseURL.

3. String gets displayed. 

Expected Results:
Font and Emoji is scaled to 72px. 

Actual Results:
Only font ist scaled up. Emoji remains ~16px of size.

Comments

Dupe of rdar://19435272

By tobias.banaszak at June 18, 2015, 7:19 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!