[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [Issue N30215] Bug in qpsprinter.cpp
From:       qt-bugs () trolltech ! com
Date:       2003-09-09 9:20:27
[Download RAW message or body]

Hi,

thanks for the bug report, but I think the patch attached is all that is
needed. I'll add this fix to 3.2.2.

Best regards,
Lars

On Friday, 05. Sep 2003 08:56 Laurent Montel wrote:
> Hi,
> There is a bug into qpsprinter when we use a TTF font which have a
> space into
> his name, for example "stylus regular" font.
> I attached it into this mail.
>
> I created a patch to fix it.
>
> I replace space by a "_"
> And now it works.
>
> Could you look at it please.
> I use qt 3.1.3
>
> Regards
>
>
>

--
Lars Knoll, Senior Software Engineer
Trolltech AS, Waldemar Thranes gt. 98, N-0175 Oslo, Norway

["ps_with_space.diff" (text/x-diff)]

==== //depot/qt/3.2/src/kernel/qpsprinter.cpp#7 - /home/lars/dev/qt-3.2/src/kernel/qpsprinter.cpp ====
--- /tmp/tmp.20978.0	Tue Sep  9 11:18:40 2003
+++ /home/lars/dev/qt-3.2/src/kernel/qpsprinter.cpp	Tue Sep  9 11:17:46 2003
@@ -2376,6 +2376,7 @@
       Trademark.setLatin1(strings+offset,length);
 
   }
+  psname = psname.replace(' ', '-');
 
   //read_cmap(font);
 


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic