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

Submitter:  EFanZh <efanzh>
Submitted:  Wed 25 Dec 2019 09:01:32 AM UTC
   
 
Category:  PDF export Priority:  5 - Normal
Item Group:  Error Status:  Fixed
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release:  1.99.12
Fixed Release:  None Fixed Release: 
Keywords: 

Mon 07 Aug 2023 09:37:08 AM UTC, comment #3: 

This problem has been fixed since a while by Grégoire Lecerf.

Joris van der Hoeven <vdhoeven>
Group administrator
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>
Group administrator
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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-08-07 vdhoeven StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2023-08-06 vdhoeven CategoryNone PDF export
    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.13-02a9.
    Corresponding source code