bugGNU TeXmacs - Bugs: bug #57473, The text looks funny in exported...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #57473: The text looks funny in exported PDF when Source Han Sans SC font is used

Submitted by:  EFanZh <efanzh>
Submitted on:  Wed 25 Dec 2019 09:01:32 AM UTC  
 
Category:  None Priority:  5 - Normal
Item Group:  Error Status:  In Progress
Privacy:  Public Assigned to:  Joris van der Hoeven <vdhoeven>
Originator Name:  Open/Closed:  Open
Release:  1.99.12 Release:  None
Fixed Release:  None Fixed Release: 
Keywords: 

Fri 30 Oct 2020 07:03:46 PM UTC, comment #2: 

There are several fonts that cause trouble, because they don't seem to follow the standards.  We cannot do much for such fonts, except from hiding them for the user.

In some cases, the problem is the version of Pdf. We might make a list of fonts that require Pdf <= 1.3 and force TeXmacs to distill to this version if any such fonts are being used.

Joris van der Hoeven <vdhoeven>
Project AdministratorIn charge of this item.
Sun 29 Dec 2019 02:02:18 PM UTC, comment #1: 

looks like another variant of https://savannah.gnu.org/bugs/?52745.
Would be nice to understand why this font which causes trouble to hummus.

Philippe Joyez <pjoyez>
Project Member
Wed 25 Dec 2019 09:01:32 AM UTC, original submission:  

Test with this document:

<TeXmacs|1.99.12>

<style|generic>

<\body>
  Normal:<htab|5mm><with|font-series|medium|\<#4E24\>\<#50A8\>\<#52A0\>\<#578B\>\<#5B66\>\<#6258\>\<#6301\>\<#63A7\>\<#63A8\>\<#65F6\>\<#670D\>\<#67B6\>\<#6BCF\>\<#7406\>\<#7AEF\>\<#80FD\>\<#8986\>\<#8BED\>\<#8D39\>\<#901A\>\<#949F\>\<#9650\>\<#9759\>>

  Light:<htab|5mm><with|font-series|light|\<#4E24\>\<#50A8\>\<#52A0\>\<#578B\>\<#5B66\>\<#6258\>\<#6301\>\<#63A7\>\<#63A8\>\<#65F6\>\<#670D\>\<#67B6\>\<#6BCF\>\<#7406\>\<#7AEF\>\<#80FD\>\<#8986\>\<#8BED\>\<#8D39\>\<#901A\>\<#949F\>\<#9650\>\<#9759\>>
</body>

<\initial>
  <\collection>
    <associate|font|Source Han Sans SC>
  </collection>
</initial>

Make sure you have Source Han Sans font installed, then export the document above to a PDF file. You should be able to notice that some texts have wrong shapes or even are missing from the PDF.

If I export the document to a PostScript file, then convert it to PDF using ps2pdf command, the result looks fine.

I have attached the result PDF in the attachments.

EFanZh <efanzh>

 

Attached Files
file #48115:  result.pdf added by efanzh (18KiB - application/pdf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Updated the item)
  • -email is unavailable- added by pjoyez (Posted a comment)
  • -email is unavailable- added by efanzh (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-30 vdhoeven StatusNone => In Progress
        Assigned toNone => vdhoeven
    2020-10-23 vdhoeven Item GroupNone => Error
    2019-12-25 efanzh Attached File- => Added result.pdf, #48115

    Back to the top


    Powered by Savane 3.5