[Libreoffice-bugs] [Bug 104252] Embedded EMF files in docx document shows text content on screen but not in print or export

2016-11-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104252

V Stuart Foote  changed:

   What|Removed |Added

 CC||michael.me...@collabora.com
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=62
   ||806

--- Comment #11 from V Stuart Foote  ---
Michael an fyi, you and Thorsten had brought in Radek Doulik's patch
(bnc#795857 & bug 62806)--nothing wrong; just think there is something
additional in the gdi handling when hardware acceleration is in use that is
still affecting us at 5.3.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 104252] Embedded EMF files in docx document shows text content on screen but not in print or export

2016-11-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104252

V Stuart Foote  changed:

   What|Removed |Added

   Keywords|regression  |bibisected
 CC||armin.le.gr...@me.com,
   ||caol...@redhat.com,
   ||noelgran...@gmail.com,
   ||t...@libreoffice.org
Version|5.3.0.0.beta1   |4.0.5.2 release
 Blocks|103729  |

--- Comment #10 from V Stuart Foote  ---
Removing the regression tag and this is _not_ a HarfBuzz issue.

With default old GDI+ < 5.3.0, or current GDI defaulut rendering, e.g. not
OpenGL, if I disable my nVidia GPU to use just CPU for rendering the print or
export to PDF is correctly composed.

=-STR-=

1. Open one of the attached Draw or Writer files
2. select checkbox  Tools -> View -> Use hardware acceleration
3. File -> Print

result? -- print preview shows rendered EMF with missing/clipped text elements

4. clear checkbox Tools -> View -> Use hardware acceleration
5. File -> Print

result? -- print preview shows rendered EMF fully formed

With actual print, or export to PDF, results are likewise affected by toggling
the "Use hardware acceleration" parameter controls.

=-QA-=

Believe this divergence between with "Use hardware acceleration" and just CPU
started at the 4.0.5.1 build.

https://cgit.freedesktop.org/libreoffice/core/log/?h=libreoffice-4-0=range=9e9821abd0ffdbc09cd8c52eaa574fa09eb08f2..5eca95953c59f90dec2cd6ed6dab4b1f4b3b24c

This commit to master looks suspect...
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4c676625d4016d428e9becd5512b7cfc8b0c4b24

@Thorsten, Noel, Caolan, Armin -- sorry to throw this old crud at you.  I've no
idea about how "Use hardware acceleration" _should_ affect the gdi routines for
text and vectors. 
But it looks like on Windows builds the
4c676625d4016d428e9becd5512b7cfc8b0c4b24 patch rescaled the size of the EMF
images, but somehow missed doing the same for the text elements. The text
elements get clipped in the final composition with hardware acceleration.  That
carries through to current Windows builds (with nVidia GPUs at least).

With "Use hardware acceleration" disabled, the full EMF is rendered to print or
export, with it enabled the text portion is clipped.


=-bibisect-=
OK
LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4
LibreOffice 3.4.6 OOO340m1 (Build:602)
Version 3.6.6.2 (Build ID: f969faf) **EMF oversized scaling in print/export
Version 3.6.7.2 (Build ID: e183d5b) **EMF oversized scaling in print/export
Version 4.0.0.3 (Build ID: 7545bee9c2a0782548772a21bc84a9dcc583b89)
Version 4.0.1.2 (Build ID: 84102822e3d61eb989ddd325abf1ac077904985)

BAD/with Same rendering
Version 4.0.2.1 (Build ID: 7e5467ff8f30d821f4fbf69cb2769163eb64c2c) **EMF
oversized scaling in print/export
Version 4.0.2.2 (Build ID: 4c82dcdd6efcd48b1d8bba66bfe1989deee49c3) **EMF
oversized scaling in print/export
Version 4.0.3.3 (Build ID: 0eaa50a932c8f2199a615e1eb30f7ac74279539) **EMF
oversized scaling in print/export
Version 4.0.4.2 (Build ID: 9e9821abd0ffdbc09cd8c52eaa574fa09eb08f2) **EMF
oversized scaling in print/export

BAD/with different rendering GPU v. CPU
Version 4.0.5.1 (Build ID: 5eca95953c59f90dec2cd6ed6dab4b1f4b3b24c) **non-GPU
EMF oversized scaling
Version 4.0.6.2 (Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24) **non-GPU
EMF oversized scaling


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103729
[Bug 103729] [META] tracker HarfBuzz common text layout regressions
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 104252] Embedded EMF files in docx document shows text content on screen but not in print or export

2016-11-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104252

Adolfo Jayme  changed:

   What|Removed |Added

 Attachment #129132|application/unknown |application/pdf
  mime type||

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 104252] Embedded EMF files in docx document shows text content on screen but not in print or export

2016-11-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104252

m.a.riosv  changed:

   What|Removed |Added

 CC||miguelangelrv@libreoffice.o
   ||rg

--- Comment #9 from m.a.riosv  ---
I can't reproduce with
Version: 5.2.3.3 (x64)
Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; 
Locale: es-ES (es_ES); Calc: group
neither
Version: 5.3.0.0.alpha0+ (x64)
Build ID: 170105956f843047d4c79657584f0c01aa7814c7
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; 
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2016-08-19_17:41:46
Locale: es-ES (es_ES); Calc: group

Only with 5.3, looks like an OpenGL issue with it disable show the problem but
works fine with it enable.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 104252] Embedded EMF files in docx document shows text content on screen but not in print or export

2016-11-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104252

V Stuart Foote  changed:

   What|Removed |Added

  Component|Writer  |graphics stack
Summary|Embedded EMF files in docx  |Embedded EMF files in docx
   |document shows text content |document shows text content
   |on screen but not in print  |on screen but not in print
   ||or export

--- Comment #8 from V Stuart Foote  ---
Not sure to call this a Graphics Stack or Printing and PDF Export issue. But is
seems a HarfBuzz regression we've missed.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs