Closed Bug 1297582 Opened 8 years ago Closed 5 years ago

[Mortar] Can't render some traditional Chinese characters when type in on pdf form

Categories

(Firefox :: PDF Viewer, defect, P4)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ywu, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #1297579 +++ 

User agent: 
OS X 10.11.6 
firefox Nightly 50.0a1 (2016-08-15)

some of my friends and I can't render traditional Chinese characters out but some of my friends can. Not sure if this is related to the font setting on OS.
Not sure why some macs can render chinese properly but some can't.  Anyway, I check how pdfium gets using of fonts and it seems that pdfium uses embedded fonts.[1]

[1] https://cs.chromium.org/chromium/src/third_party/pdfium/fpdfsdk/fpdfview.cpp?l=270&cl=GROK&gsn=FPDF_InitLibraryWithConfig
Leave the note of the flow.

* frame #0: 0x0000000119f3598e Chromium Framework`CPWL_FontMap::GetDefaultFontByCharset(nCharset=134) + 14 at PWL_FontMap.cpp:429
    frame #1: 0x0000000119f34ec2 Chromium Framework`CPWL_FontMap::GetNativeFont(this=0x00007fcdc16dd260, nCharset=134) + 82 at PWL_FontMap.cpp:281
    frame #2: 0x0000000119f34c87 Chromium Framework`CPWL_FontMap::GetNativeFontName(this=0x00007fcdc16dd260, nCharset=134) + 199 at PWL_FontMap.cpp:147
    frame #3: 0x0000000119f348b7 Chromium Framework`CPWL_FontMap::GetWordFontIndex(this=0x00007fcdc16dd260, word=19968, nCharset=134, nFontIndex=0) + 231 at PWL_FontMap.cpp:111
    frame #4: 0x0000000119da97b8 Chromium Framework`CFX_Edit_Provider::GetWordFontIndex(this=0x00007fcdc16de030, word=19968, charset=134, nFontIndex=0) + 56 at fxet_edit.cpp:314
    frame #5: 0x0000000119c449a4 Chromium Framework`CPDF_VariableText::GetWordFontIndex(this=0x00007fcdc16ddfb0, word=19968, charset=134, nFontIndex=0) + 100 at cpdf_variabletext.cpp:1085
    frame #6: 0x0000000119c447cc Chromium Framework`CPDF_VariableText::InsertWord(this=0x00007fcdc16ddfb0, place=0x00007fcdc16de920, word=19968, charset=134, pWordProps=0x0000000000000000) + 332 at cpdf_variabletext.cpp:298
    frame #7: 0x0000000119dab2d1 Chromium Framework`CFX_Edit::InsertWord(this=0x00007fcdc16de900, word=19968, charset=134, pWordProps=0x0000000000000000, bAddUndo=1, bPaint=1) + 305 at fxet_edit.cpp:2487
    frame #8: 0x0000000119db53f1 Chromium Framework`CFX_Edit::InsertWord(this=0x00007fcdc16de900, word=19968, charset=134) + 65 at fxet_edit.cpp:1677
    frame #9: 0x0000000119f32a96 Chromium Framework`CPWL_EditCtrl::InsertWord(this=0x00007fcdc16de770, word=19968, nCharset=134) + 102 at PWL_EditCtrl.cpp:491
    frame #10: 0x0000000119f327d8 Chromium Framework`CPWL_EditCtrl::OnChar(this=0x00007fcdc16de770, nChar=19968, nFlag=0) + 664 at PWL_EditCtrl.cpp:281
    frame #11: 0x0000000119f30103 Chromium Framework`CPWL_Edit::OnChar(this=0x00007fcdc16de770, nChar=19968, nFlag=0) + 627 at PWL_Edit.cpp:723
    frame #12: 0x0000000119b0e2c8 Chromium Framework`CFFL_FormFiller::OnChar(this=0x00007fcdc14bd880, pAnnot=0x00007fcdc16ba1a0, nChar=19968, nFlags=0) + 184 at cffl_formfiller.cpp:242
Blocks: 1264551
No longer depends on: 1264551
Severity: normal → minor
Priority: -- → P4
Group: mozilla-employee-confidential
Summary: [jsplugins] Can't render some traditional Chinese characters when type in on pdf form → [Mortar] Can't render some traditional Chinese characters when type in on pdf form

I'm closing this bug as WONTFIX per:

"The Mortar experiment has concluded. Mozilla does not consider the PDF use case justifies the burden of implementing and maintaining PDFium and a Pepper API implementation in Gecko."

Source: https://wiki.mozilla.org/Mortar_Project

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.