Post without Account — your post will be reviewed, and if appropriate, posted under Anonymous. You can also use this link to report any problems registering or logging in.

[RT 130040] Mention cannot make synthetic cjkfont

  • 0 Replies
  • 22 Views
*

Offline Phil

  • Global Moderator
  • Hero Member
  • *****
  • 572
    • View Profile
[RT 130040] Mention cannot make synthetic cjkfont
« July 11, 2019, 02:29:00 PM »
Wed Jul 10 22:02:59 2019 jidanni [...] jidanni.org - Ticket created

We read
Code: [Select]
$font = $pdf->synfont($basefont, [%options])
Returns a new synthetic font object. OK, but mention cannot use with cjkfonts:
Code: [Select]
my $font = $pdf->cjkfont('traditional');
$font2 = $pdf->synfont($font, -slant => 0.85);

Makes a mess out of a document.

[Verify and update documentation as necessary]