octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #66306] Fonts not changing when printing pdf f


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #66306] Fonts not changing when printing pdf files
Date: Wed, 9 Oct 2024 16:37:27 -0400 (EDT)

Update of bug #66306 (group octave):

                  Status:               Confirmed => Patch Submitted        

    _______________________________________________________

Follow-up Comment #2:

The issues seems to come from QFont::setFamily not working properly in Qt6. As
a workaround, I used the QFont constructor to set the family in the attached
patch which fixes the issue for me.

I used the following simple code for testing

title('Free Serif - {\fontname{Liberation Sans} Liberation Sans} -
{\fontsize{18} BIG Free Serif}', "fontname", "Free Serif") 
print toto.pdf
system "pdffonts toto.pdf"


The patch is against default, but since this is a regression (a serious one
for my use case), I would recommend applying it to stable.

(file #56493)

    _______________________________________________________

Additional Item Attachment:

File name: bug66306.patch                 Size: 2kio
    <https://file.savannah.gnu.org/file/bug66306.patch?file_id=56493>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-081f0159e0e5f206cc641f7e3d8d043e39c91c76.tar.gz


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66306>

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]