You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2018/03/02 10:46:46 UTC

[Issue 127723] New: Use cairo graphics also on OS/2 to show presentations

https://bz.apache.org/ooo/show_bug.cgi?id=127723

          Issue ID: 127723
        Issue Type: DEFECT
           Summary: Use cairo graphics also on OS/2 to show presentations
           Product: General
           Version: 4.2.0-dev
          Hardware: All
                OS: OS/2
            Status: CONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: ydario@apache.org
            Blocks: 126518
  Target Milestone: ---

The OS/2 canvas code does not make use of cairo graphics library, so GPI is
used to draw on the screen. Enabling cairo will allow use of antialiasing for
drawing primitives and text rendering.


Referenced Issues:

https://bz.apache.org/ooo/show_bug.cgi?id=126518
[Issue 126518] Build of OS/2 tree
-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127723] Use cairo graphics also on OS/2 to show presentations

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127723

--- Comment #2 from Yuri Dario <yd...@apache.org> ---
Found that bullets rendering is broken. cairo is called to draw bullets using
StarSymbol font, but this is no longer available. Probably a StarOffice font.
Installing the free StarSymbol font by Agfa fixes rendering but this is not the
solution used on other platforms. VCL uses OpenSymbol for  bullets, so
somewhere there is a mapping between the two names.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127723] Use cairo graphics also on OS/2 to show presentations

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127723

--- Comment #1 from SVN Robot <sv...@dev.null.org> ---
"ydario" committed SVN revision 1825732 into trunk:
#i127723# add cairo graphics support also on OS/2.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127723] Use cairo graphics also on OS/2 to show presentations

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127723

--- Comment #5 from Yuri Dario <yd...@apache.org> ---
I did not dig deep into VCL code handling OpenSymbol, but it seems to be that
it is flagged as symbol font and thus it is the font used when drawing symbols.
Since our cairo implementation is not using font selection from VCL (as done in
other platforms) it is simpler to just rename the font before selecting it with
cairo toy API.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127723] Use cairo graphics also on OS/2 to show presentations

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127723

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mseidel@apache.org

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127723] Use cairo graphics also on OS/2 to show presentations

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127723

--- Comment #4 from SVN Robot <sv...@dev.null.org> ---
"ydario" committed SVN revision 1826117 into trunk:
#i127723# Fix StarSymbol to OpenSymbol mapping when using cairo on OS/2.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127723] Use cairo graphics also on OS/2 to show presentations

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127723

--- Comment #3 from Yuri Dario <yd...@apache.org> ---
Debugging VCLcanvas shows that it draws bullets using StarSymbol too. So it is
the VCL output device that maps it to StarSymbol.
This means cairo canvas should map the font name itself. I wonder how it works
on other platforms.

-- 
You are receiving this mail because:
You are the assignee for the issue.