Search found 121 matches

by rsb
Fri Nov 02, 2018 9:26 pm
Forum: wxCode
Topic: Problem Printing From Adobe
Replies: 1
Views: 160

Problem Printing From Adobe

Hello, We have a PDF file, attached, that was created from version 0.96 of wxPdfDocument using wxWidgets 3.1.0 on Windows 10. Compiler is Visual Studio VS14. When we try to print to an HP printer we get a message box with a message "Flattening". It times out after some time with a message ...
by rsb
Tue Oct 23, 2018 3:42 pm
Forum: Platform Related Issues
Topic: Linux: Zoom level random Printing to CUPS-PDF
Replies: 0
Views: 116

Linux: Zoom level random Printing to CUPS-PDF

Hello, Using the wxPrinter class on Linux and printing to CUPS-PDF, the Evince Document viewer comes up with a random zoom level and a random rotation. Zoom level is sometimes 100%, sometimes Fit Page Width, sometimes Best Fit. Rotation is sometimes 0 and sometimes 90 degrees. Our print orientation ...
by rsb
Mon Jul 09, 2018 7:31 pm
Forum: C++ Development
Topic: Printing to Adobe PDF using wxPrinter
Replies: 1
Views: 130

Re: Printing to Adobe PDF using wxPrinter

We were using a special cursor that somehow effected the printer output. Once we disabled it, the Adobe printer output worked
fine. Not sure why this effected the output of the printer, but it fixed our problem.
by rsb
Sat Jul 07, 2018 9:49 pm
Forum: C++ Development
Topic: Printing to Adobe PDF using wxPrinter
Replies: 1
Views: 130

Printing to Adobe PDF using wxPrinter

Hello, We're having a problem printing to Adobe PDF using wxPrinter. Printing to other PDF printers like Bullzip PDF works fine. Has anyone complained about getting a corrupt PDF file when using Adobe PDF. I noticed one post that mentioned something similar. https://forums.wxwidgets.org/viewtopic.ph...
by rsb
Fri Jun 08, 2018 2:05 pm
Forum: Platform Related Issues
Topic: True Type Text Disappears with Filled Arcs (Linux Only)
Replies: 5
Views: 362

Re: True Type Text Disappears with Filled Arcs (Linux Only)

Is this the best way to reset the stipple mask? wxBrush brush = dc->GetBrush() ; brush.SetStipple(wxNullBitmap) ; Also, Is there a problem drawing arcs with a stipple mask. We draw circles, polygons and arcs with a stipple mask essentially the same way. The circles and polygons work perfectly but th...
by rsb
Thu Jun 07, 2018 6:50 pm
Forum: Platform Related Issues
Topic: True Type Text Disappears with Filled Arcs (Linux Only)
Replies: 5
Views: 362

Re: True Type Text Disappears with Filled Arcs (Linux Only)

Yes, it was text after outline and I reversed it and it now works. I would think it would be the other way around.

Thanks!
by rsb
Thu Jun 07, 2018 6:12 pm
Forum: Platform Related Issues
Topic: True Type Text Disappears with Filled Arcs (Linux Only)
Replies: 5
Views: 362

True Type Text Disappears with Filled Arcs (Linux Only)

Hello, This is an obscure problem but I thought I would ask in case it was a know issue with wxWidgets. We have a panel where we display true type text inside a border outline, the outline consists of arc and line objects. The arc objects are displayed using a stipple mask. The border outline can be...
by rsb
Fri May 25, 2018 9:23 pm
Forum: C++ Development
Topic: Mirrored Text
Replies: 6
Views: 291

Re: Mirrored Text

Thank you.
by rsb
Fri May 25, 2018 6:39 pm
Forum: C++ Development
Topic: Mirrored Text
Replies: 6
Views: 291

Re: Mirrored Text

We're not drawing inside a paint event handler so I couldn't use the first option.

The second worked well when mirroring around the x or y axis.

How would the second option work for text displayed at a 45 degree rotation
or anything other than 0, 90, 180, 270.

Thanks.
by rsb
Thu May 24, 2018 8:39 pm
Forum: C++ Development
Topic: Mirrored Text
Replies: 6
Views: 291

Re: Mirrored Text

Thank you both, I'll try and let you know.
by rsb
Thu May 24, 2018 7:41 pm
Forum: C++ Development
Topic: Mirrored Text
Replies: 6
Views: 291

Mirrored Text

Is there a way to draw mirrored text to a wxDC object.

I tried the wxMirrorDC class but it didn't work. I also tried the SetLayoutDirection method and
it didn't work either.

Thank you.

Using:
- wxWidgets 3.1.0
- Window 7 Professional
- Visual Studio 2015.
by rsb
Tue Dec 05, 2017 10:27 pm
Forum: C++ Development
Topic: wxPostScriptPrinter
Replies: 0
Views: 425

wxPostScriptPrinter

Hello, I'm trying to use the wxPostScriptPrinter class to create a postscript file. We're using the wxPrinter and the wxPdfPrinter classes to print and they both work well. We're using the wxPostScriptPrinter class in the same framework as the other two. The wxPostScriptPrinter class does create a p...
by rsb
Thu Nov 02, 2017 11:36 pm
Forum: C++ Development
Topic: Transparent fill pattern using a Stipple brush on a Printer
Replies: 2
Views: 228

Re: Transparent fill pattern using a Stipple brush on a Printer

Hello,

wxPdfDocument: 0.9.5

Printers:
HP LaserJet 5SI
Bullzip PDF printer
Adobe PDF

Thanks.
by rsb
Thu Nov 02, 2017 5:22 pm
Forum: C++ Development
Topic: Transparent fill pattern using a Stipple brush on a Printer
Replies: 2
Views: 228

Transparent fill pattern using a Stipple brush on a Printer

We're using a stipple brush defined from a bitmap with a mask to display a fill pattern. The fill pattern displays transparently on a panel or on a printer using wxPdfDocument (wxPdfDC), but using wxPrinter (wxPrinterDC) it's doesn't. It has a solid background color. Is this a shortcoming of the wxP...

Go to advanced search