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.

patch.diff 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Index: PDFGraphics2D.java
  2. ===================================================================
  3. --- PDFGraphics2D.java (Revision 570024)
  4. +++ PDFGraphics2D.java (Arbeitskopie)
  5. @@ -719,13 +719,15 @@
  6. }
  7. c = getColor();
  8. - if (graphicsState.setColor(c)) {
  9. + graphicsState.setColor(c);
  10. + // if (graphicsState.setColor(c)) {
  11. applyColor(c, false);
  12. - }
  13. + // }
  14. c = getBackground();
  15. - if (graphicsState.setBackColor(c)) {
  16. + graphicsState.setBackColor(c);
  17. + // if (graphicsState.setBackColor(c)) {
  18. applyColor(c, true);
  19. - }
  20. + // }
  21. Paint paint = getPaint();
  22. if (graphicsState.setPaint(paint)) {
  23. @@ -1718,13 +1720,15 @@
  24. }
  25. c = getColor();
  26. - if (graphicsState.setColor(c)) {
  27. + graphicsState.setColor(c);
  28. + // if (graphicsState.setColor(c)) {
  29. applyColor(c, true);
  30. - }
  31. + // }
  32. c = getBackground();
  33. - if (graphicsState.setBackColor(c)) {
  34. + graphicsState.setBackColor(c);
  35. + // if (graphicsState.setBackColor(c)) {
  36. applyColor(c, false);
  37. - }
  38. + // }
  39. Paint paint = getPaint();
  40. if (graphicsState.setPaint(paint)) {