Search found 6 matches

by EverythingsShiny
Wed Jul 13, 2016 4:13 am
Forum: C++ Development
Topic: OpenGL Samples broken in 3.1.0 ?
Replies: 20
Views: 6533

Re: OpenGL Samples broken in 3.1.0 ?

I'm not sure this addresses the original issue but I managed to find a workaround using the new constructor for wxGLCanvas, the one that uses wxGLAttributes. I set up my attributes like this: wxGLAttributes glAttributes; glAttributes.PlatformDefaults().MinRGBA(8,8,8,8).DoubleBuffer().Depth(24).EndLi...
by EverythingsShiny
Sat Jul 09, 2016 2:09 pm
Forum: C++ Development
Topic: OpenGL Samples broken in 3.1.0 ?
Replies: 20
Views: 6533

Re: OpenGL Samples broken in 3.1.0 ?

Thanks, I'll see if I can work anything out.
by EverythingsShiny
Fri Jul 08, 2016 4:48 am
Forum: C++ Development
Topic: OpenGL Samples broken in 3.1.0 ?
Replies: 20
Views: 6533

Re: OpenGL Samples broken in 3.1.0 ?

Has there been any update on this? I am seeing the same issue being reported to me from some users of my software. We have a distribution of a couple hundred people and we are seeing this issue on around 5-10% of the installs. It seems more prevalent on older Windows computers but there has been at ...
by EverythingsShiny
Thu Dec 11, 2014 2:18 am
Forum: wxCode
Topic: Chinese Characters in wxPdfDc
Replies: 4
Views: 2647

Re: Chinese Characters in wxPdfDc

Hi Ulrich,

That definitely got me on the right track. Using that font I was able to see the Chinese characters in the resulting PDF using the dc::DrawText() function. Thank you!
by EverythingsShiny
Thu Dec 04, 2014 8:43 pm
Forum: wxCode
Topic: Chinese Characters in wxPdfDc
Replies: 4
Views: 2647

Re: Chinese Characters in wxPdfDc

Thanks Ulrich, Based on your answers I think I'm missing the part about "if the selected font supports Chinese characters". My wxWidgets is definitely compiled as Unicode. I'm using translation files so my Chinese is read in from a GetText .mo file at runtime. From what I can tell this mea...
by EverythingsShiny
Thu Dec 04, 2014 3:21 am
Forum: wxCode
Topic: Chinese Characters in wxPdfDc
Replies: 4
Views: 2647

Chinese Characters in wxPdfDc

Hi, Is it possible to print Chinese characters on to a PdfDocument through the DrawText() or DrawRotatedText() functions of a wxPdfDc? I've managed to get Chinese characters to print by using the wxPdfDocument::Write() command by setting the appropriate font beforehand etc. but I can't seem to find ...