Launchpad has imported 11 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=47432.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-03-17T03:42:35+00:00 Alexrage wrote:

Created attachment 58589
editing mode

Problem description:

Steps to reproduce:
1. Create a new presentation in Impress
2. Type in a Chinese character.
3. Bold the Chinese character.
4. F5(presentation)

Current behavior:
The bold Chinese character is not the same as it shows in editing mode.

Expected behavior:
It should be the same as what it looks like in editing mode.

Platform (if different from the browser): 
 Ubuntu 10.04.4 LTS

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/comments/37

------------------------------------------------------------------------
On 2012-03-17T03:43:05+00:00 Alexrage wrote:

Created attachment 58590
Presentation

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/comments/38

------------------------------------------------------------------------
On 2012-03-19T15:11:47+00:00 Alexrage wrote:

*** Bug 47509 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/comments/39

------------------------------------------------------------------------
On 2012-10-18T05:38:09+00:00 Flex Liu wrote:

Yes, I reproduce the issue in master still.

I find the problem should be located in file:
/core/canvas/source/cairo/cairo_textlayout.cxx:608

            //faux bold
            if (rSysFontData.bFakeBold) {
                double bold_dx = 0.5 * sqrt( 0.7 * aFont.GetHeight() );
                int total_steps = 2 * ((int) (bold_dx + 0.5));

                // loop to draw the text for every half pixel of displacement
                for (int nSteps = 0; nSteps < total_steps; nSteps++) {
                    for(int nGlyphIdx = 0; nGlyphIdx < (int) 
cairo_glyphs.size(); nGlyphIdx++) {
                        cairo_glyphs[nGlyphIdx].x += bold_dx * nSteps / 
total_steps;
                    }   
                    cairo_show_glyphs(pSCairo.get(), &cairo_glyphs[0], 
cairo_glyphs.size());
                }   
                OSL_TRACE(":cairocanvas::TextLayout::draw(S,O,p,v,r): FAKEBOLD 
- dx:%d", (int) bold_dx);
            }   

yes, that's cause the bold in Asian font so ugly.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/comments/41

------------------------------------------------------------------------
On 2012-10-19T06:06:05+00:00 Flex Liu wrote:

Created attachment 68779
Improve the faux bold in cairo canvas, to make the bold font better.

Simple patch to adjust & improve the "faux bold" in cairo canvas.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/comments/42

------------------------------------------------------------------------
On 2012-10-19T06:14:14+00:00 Flex Liu wrote:

Created attachment 68780
without the patch

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/comments/43

------------------------------------------------------------------------
On 2012-10-19T06:15:08+00:00 Flex Liu wrote:

Created attachment 68781
with the patch

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/comments/44

------------------------------------------------------------------------
On 2012-10-19T06:19:12+00:00 Flex Liu wrote:

Created attachment 68782
with the patch

Sorry for above...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/comments/45

------------------------------------------------------------------------
On 2012-10-26T14:24:37+00:00 Libreoffice-bugs wrote:

Flex Liu committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=b6aa58c4d8af8b960b085646d97f73c912503a96

Resolves: fdo#47432 Improve the "faux bold" in cairo canvas


The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/comments/46

------------------------------------------------------------------------
On 2012-11-09T12:46:18+00:00 Kendy-k wrote:

*** Bug 34675 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/comments/48

------------------------------------------------------------------------
On 2012-11-09T12:53:00+00:00 Libreoffice-bugs wrote:

Flex Liu committed a patch related to this issue.
It has been pushed to "libreoffice-3-6":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=cad7a5814775adf458f8a490700fa5ef6b8f8638&g=libreoffice-3-6

Resolves: fdo#47432 Improve the "faux bold" in cairo canvas


It will be available in LibreOffice 3.6.4.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/comments/49


** Changed in: df-libreoffice
       Status: Unknown => Fix Released

** Changed in: df-libreoffice
   Importance: Unknown => Critical

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to openoffice.org in Ubuntu.
https://bugs.launchpad.net/bugs/585910

Title:
  [Upstream] Impress Font fuzzy in presentation mode when Use hardware
  acceleration enabled

Status in LibreOffice Productivity Suite:
  Fix Released
Status in The OpenOffice.org Suite:
  Confirmed
Status in “libreoffice” package in Ubuntu:
  Triaged
Status in “openoffice.org” package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: openoffice.org
  Binary package hint: libreoffice

  1)
  Natty:
  lsb_release -rd
  Description:        Ubuntu Natty (development branch)
  Release:        11.04

  Maverick:
  lsb_release -rd
  Description:  Ubuntu 10.10
  Release:      10.10

  2)
  Natty:
  apt-cache policy libreoffice-impress
  libreoffice-impress:
    Installed: 1:3.3.1-1ubuntu5
    Candidate: 1:3.3.1-1ubuntu5
    Version table:
   *** 1:3.3.1-1ubuntu5 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages 100
  /var/lib/dpkg/status

  Maverick:
  apt-cache policy libreoffice-impress
  libreoffice-impress:
    Installed: 1:3.3.1-1ubuntu3~maverick1
    Candidate: 1:3.3.1-1ubuntu3~maverick1
    Version table:
   *** 1:3.3.1-1ubuntu3~maverick1 0
          500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ maverick/main 
i386 Packages
          100 /var/lib/dpkg/status

  3) What is expected to happen is when one opens the following at the
  Terminal:

  cd ~/Desktop && wget
  
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/585910/+attachment/1405216/+files/BoldTechnicalFontTest.zip
  && file-roller -h BoldTechnicalFontTest.zip && cd
  BoldTechnicalFontTest/.fonts && sudo mv TECHNICI.TTF /usr/share/fonts
  && sudo mv TECHNICN.TTF /usr/share/fonts && sudo fc-cache -f -v &&
  sudo reboot

  Upon restart at the Terminal:

  loimpress -nologo
  ~/Desktop/BoldTechnicalFontTest/Desktop/BoldTechnicalFontTest.odp

  Click F5 the font is not fuzzy.

  4) What happened instead is the font is fuzzy.

  WORKAROUND: click Tools -> Options -> LibreOffice -> View -> uncheck
  Use hardware acceleration checkbox -> OK button -> F5

  ---
  Architecture: i386
  DistroRelease: Ubuntu 10.04
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
  NonfreeKernelModules: nvidia
  Package: openoffice.org-core 1:3.2.0-7ubuntu4
  PackageArchitecture: i386
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
  Tags: lucid
  Uname: Linux 2.6.32-22-generic i686
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/585910/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to