OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../wxwidgets24/pango.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -ur wxPythonSrc-2.4.2.4_orig/src/gtk/dcclient.cpp wxPythonSrc-2.4.2.4/src/gtk/dcclient.cpp
  17. --- wxPythonSrc-2.4.2.4_orig/src/gtk/dcclient.cpp 2003-04-19 22:22:59.000000000 +0200
  18. +++ wxPythonSrc-2.4.2.4/src/gtk/dcclient.cpp 2005-09-11 02:30:52.000000000 +0200
  19. @@ -1774,9 +1774,9 @@
  20. if (m_owner)
  21. {
  22. - if (m_font.GetNoAntiAliasing())
  23. - m_context = m_owner->GtkGetPangoX11Context();
  24. - else
  25. + //if (m_font.GetNoAntiAliasing())
  26. + // m_context = m_owner->GtkGetPangoX11Context();
  27. + //else
  28. m_context = m_owner->GtkGetPangoDefaultContext();
  29. }
  30. }
  31. diff -ur wxPythonSrc-2.4.2.4_orig/src/gtk/window.cpp wxPythonSrc-2.4.2.4/src/gtk/window.cpp
  32. --- wxPythonSrc-2.4.2.4_orig/src/gtk/window.cpp 2003-09-20 00:32:24.000000000 +0200
  33. +++ wxPythonSrc-2.4.2.4/src/gtk/window.cpp 2005-09-11 02:32:45.000000000 +0200
  34. @@ -4015,10 +4015,7 @@
  35. PangoContext *wxWindowGTK::GtkGetPangoX11Context()
  36. {
  37. - if (!m_x11Context)
  38. - m_x11Context = pango_x_get_context( gdk_display );
  39. -
  40. - return m_x11Context;
  41. + return gtk_widget_get_pango_context(m_widget);
  42. }
  43. #endif