1066933 - Unicode characters break Emoji Color - Mozilla ...

文章推薦指數: 80 %
投票人數:10人

Unicode characters break Emoji Color ... to reproduce: Firefox 35.0a1(and possible some previous version?) have support for colored emoji unicode character. CopySummary View▾ ResetSections ExpandAllSections CollapseAllSections History JSON XML Closed Bug1066933 Opened7yearsago Closed6yearsago UnicodecharactersbreakEmojiColor Summary: UnicodecharactersbreakEmojiColor Product: Core ▾ SeeOpenBugsinThisProduct FileNewBuginThisProduct WatchThisProduct Component: Graphics:Text ▾ SeeOpenBugsinThisComponent RecentlyFixedBugsinThisComponent FileNewBuginThisComponent WatchThisComponent Version: Trunk Platform: x86_64 Windows8.1 Type: defect Priority: Notset Severity: minor Points: --- Status: RESOLVED DUPLICATE ofbug1032671 Status: RESOLVED DUPLICATE of MarkasDuplicate MarkasAssigned Milestone: --- Iteration: --- ProjectFlags: WebcompatPriority --- RootCause --- a11y-review --- user-doc-firefox --- FissionMilestone --- TrackingFlags: Tracking Status firefox32 --- affected firefox33 --- affected firefox34 --- affected firefox35 --- affected Tracking Status firefox32 affected firefox33 affected firefox34 affected firefox35 affected relnote-firefox --- thunderbird_esr91 --- --- firefox-esr91 --- --- firefox95 --- --- firefox96 --- --- firefox97 --- --- Assignee: Unassigned Assignee: ResetAssigneetodefault Mentors: --- QAContact: ResetQAContacttodefault Reporter: invision.rsps TriageOwner: lsalzman CC: 4people Dependson: --- Blocks: 889401 Dependencytree /graph Regressions: --- Regressedby: --- URL: data:text/html;charset=utf-8;base64,P... SeeAlso: --- Alias: --- Keywords: --- Whiteboard: --- QAWhiteboard: --- HasRegressionRange: --- HasSTR: --- Votes: 0 BugFlags: behind-pref + - firefox-backlog sec-bounty ? sec-bounty-hof in-qa-testsuite ? + - in-testsuite ? + - qe-verify Signature: Thisbugispubliclyvisible. report.png 7yearsago ivs 66.07KB, image/png Details emoji_color.html 7yearsago GingerbreadMan 616bytes, text/html Details Bottom↓ Tags▾ Reset Timeline▾ Reset CollapseAll ExpandAll CommentsOnly ivs Reporter Description • 7yearsago Attachedimage report.png —Details UserAgent:Mozilla/5.0(WindowsNT6.3;WOW64;rv:35.0)Gecko/20100101Firefox/35.0 BuildID:20140910030204 Stepstoreproduce: Firefox35.0a1(andpossiblesomepreviousversion?)havesupportforcoloredemojiunicodecharacter.Undermostcircumstancesitworksproperly,Ihavediscoveredawaytobreakit. Createastringof"emoji"unicodecharacters: ivs Reporter Updated • 7yearsago Severity:normal→minorIteration:---→35.1Component:Untriaged→General Alice0775White Comment1 • 7yearsago Seedetailhttp://forums.mozillazine.org/viewtopic.php?f=23&t=2868485Blocks:889401URL:http://pastebin.com/PHwD5pZdComponent:General→Graphics:TextProduct:Firefox→Core Alice0775White Updated • 7yearsago Version:35Branch→Trunk Alice0775White Updated • 7yearsago Iteration:35.1→--- Alice0775White Updated • 7yearsago URL:http://pastebin.com/PHwD5pZd→data:text/html;charset=utf-8,

⫷ Alice0775White Updated • 7yearsago URL:data:text/html;charset=utf-8,

⫷→data:text/html;charset=utf-8;base64,P... Alice0775White Updated • 7yearsago Status:UNCONFIRMED→NEWEverconfirmed:true Alice0775White Updated • 7yearsago status-firefox32: ---→affected status-firefox33: ---→affected status-firefox34: ---→affected status-firefox35: ---→affected GingerbreadMan Comment2 • 7yearsago Attachedfile emoji_color.html —Details Lookslikeafontfallbackproblem[1].Thefontinfoadd-on[2]revealsthefontinuseisSegoeUISymbol,ratherthanSegoeUIEmoji. Seetheattachedtestcase: 1.There'snoissueifSegoeUIEmojiisexpresslyspecified.Setting"Fontsfor:OtherLanguages"to"Proportional:SansSerif;Sans-serif:SegoeUIEmoji"alsosolvestheproblem. 2.Thisonlyaffectscertainemoji.Presumablythat'sbecausetheothersaren'tavailableintheSegoeUISymbolfont,soFirefoxpicksSegoeUIEmoji. [1]Seebug1054780sinceithasthepotentialtomakethisworse. [2]https://addons.mozilla.org/firefox/addon/fontinfo/ JonathanKew(:jfkthame) Comment3 • 7yearsago Theemojicharactersgenerallyrelyonsystemfontfallback,aswedon'tcurrentlyhaveanexplicitfontpreferenceforthem. Iassumewhat'shappeninghereisthatwehitthiscodeingfxFontGroup::FindFontForChar: 6026//3.usefallbackfonts 6027//--beforesearchingforsomethingelsecheckthefontusedforthepreviouscharacter 6028if(aPrevMatchedFont&&aPrevMatchedFont->HasCharacter(aCh)){ 6029*aMatchType=gfxTextRange::kSystemFallback; 6030nsRefPtrret=aPrevMatchedFont; 6031returnret.forget(); 6032} whichmeansthatiftheimmediately-precedingcharactercamefromSegoeUISymbol,andtheemojicodepointsinquestionarealsoavailableinSegoeUISymbol,thenwe'llcontinueusingthatratherthanfallingbacktoSegoeUIEmoji,asweotherwisewouldfortheemojicodepointsinisolation. MakotoKato[:m_kato] Comment4 • 6yearsago Thiswillbefixedbybug1032671.Status:NEW→RESOLVEDClosed:6yearsagoResolution:---→DUPLICATEDuplicateofbug:1032671 Youneedtologin beforeyoucancommentonormakechangestothisbug. Top↑



請為這篇文章評分?