Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-09-02 | remove recently unused methods | Caolán McNamara | |
2011-09-01 | unusedcode.easy: vcl::unotools cleanup | Joseph Powers | |
2011-09-01 | unusedcode.easy: PDFWriter cleanup | Joseph Powers | |
2011-09-01 | slightly buggy commit 66141a46a44fa1c96694e98453e28c077ca23f48 from 20/11/2008 | Julien Nabet | |
2011-09-01 | Some cppcheck cleaning | Julien Nabet | |
2011-09-01 | make the overlap smaller | Radek Doulik | |
2011-09-01 | fix for linear gradient export to PDF | Muthu Subramanian | |
Signed-off-by: Radek Doulik <rodo@novell.com> | |||
2011-09-01 | make sure we stay in array bounds | Radek Doulik | |
2011-09-01 | Fixes fdo#38683 calculation of interline spacing on unx platforms | Khaled Hosny | |
The current calculation of interline spacing is fundamentally flawed, at least on "unx". The implementation of ServerFont::FetchFontMetric() in gcach_ftyp.cxx does the following: * gets ascent/descent from FT_Size_Metrics which is fine * sets internal leading to the value of line gap while this should be the external leading * if the font has an OS/2 table - recalculates the metrics based on WinAscent/WinDescent which is absolutely wrong as these metrics should never be used to control line spacing - external leading get set based on a combination of metrics from HHEA table and WinAscent/WinDescent - for CJK it "adds half of the external leading to the ascent, the other half is added to the descent" because "the line height for Asian fonts is too small", my reaction reading this was "WTF!" The main problem here is that OS/2 Win metrics should never be used for controlling line spacing[1] and Typo metrics should used instead[2]. The Win metrics in the font are set to be higher than the highest/deepest glyph in the font, else Windows will clip portions of the glyphs above those values, for most fonts Win and Typo values can be the same, but for some special fonts that have very big glyphs like Neo Euler[3], XITS Math[4] or Cambria Math the Win values are much bigger resulting in huge line spacing, see attached screen shots. #38683[5] is another example of problems caused by this. The attached patch is an attempt to bring some sanity to the situation: * external leading = height - ascent + descent (line gap) * internal leading = ascent + descent - EM_size * if the font has an OS/2 table typo metrics are used * no need for HHEA stuff as freetype derives its size metrics from it anyway. * removed the bogus CJK stuff * removed check for freetype < 2.0 which we don't support anyway This only done for 'unx' similar work is needed for 'win' and 'aqua', but I'm not familiar with these platforms and can't test on it. [1] http://www.microsoft.com/typography/otspec/os2.htm#wa [2] http://www.microsoft.com/typography/otspec/os2.htm#sta [3] https://github.com/khaledhosny/euler-otf [4] http://en.wikipedia.org/wiki/XITS_font_project [5] https://bugs.freedesktop.org/show_bug.cgi?id=38683 Mail in archive: http://lists.freedesktop.org/archives/libreoffice/2011-August/017287.html Screenshot attachments: http://lists.freedesktop.org/archives/libreoffice/attachments/20110829/7d829a4b/attachment-0002.png http://lists.freedesktop.org/archives/libreoffice/attachments/20110829/7d829a4b/attachment-0003.png | |||
2011-08-29 | Polyline improvement for Windows | Dmitry A Ashkadov | |
I tried to draw polyline.... But on Windows... the end point is not drawn... the main problem is WinAPI LineTo() function. MSDN says: The LineTo function draws a line from the current position up to, but not including, the specified point. I think WinAPI Polyline() function uses LineTo() to draw a polyline. I see a hack in VCL module in WinSalgraphics::drawLine(): "we must paint the endpoint" But there is no such hack for drawPolyLine() function. A possible solution is same as for drawLine(). | |||
2011-08-29 | callcatcher: drop various unused methods | Caolán McNamara | |
2011-08-29 | valgrind: various unused code | Caolán McNamara | |
2011-08-26 | callcatcher: some unused code | Caolán McNamara | |
2011-08-24 | avoid crash on shutdown with unprocessed events pending post SalDisplay dtor | Caolán McNamara | |
2011-08-24 | potential WaE | Caolán McNamara | |
2011-08-24 | catch ignored exceptions by const reference | Takeshi Abe | |
2011-08-23 | dlopen() librsvg-2.so.2 instead of .so which would require -dev(el) packages | Rene Engelhard | |
2011-08-23 | generate list | Caolán McNamara | |
2011-08-23 | Remove assertion that does not compile | Tor Lillqvist | |
2011-08-22 | Enable CUPS unconditionally | François Tigeot | |
It doesn't make sense to try to use anything else to print on *nix systems these days | |||
2011-08-22 | regenerate up to date list | Caolán McNamara | |
2011-08-22 | regoptions (etc.) now unused post registration-removal | Caolán McNamara | |
2011-08-22 | gsl_getSystemTextEncoding->osl_getThreadTextEncoding | Caolán McNamara | |
2011-08-22 | callcatcher: various methods | Caolán McNamara | |
2011-08-22 | callcatcher: remove unused methods | Caolán McNamara | |
2011-08-22 | ditch product registration implementation | Caolán McNamara | |
2011-08-22 | callcatcher: post cairo-text remove unused legacy methods | Caolán McNamara | |
2011-08-19 | detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly set | Norbert Thiebaud | |
2011-08-19 | Fixes link error on Windows. | Kohei Yoshida | |
2011-08-19 | now cairo is the only way to render text under X | Caolán McNamara | |
2011-08-19 | Merge FreetypeServerFont and ServerFont now its split out into unx | Caolán McNamara | |
2011-08-18 | and so glyphcache.hxx is revealed to be unx only | Caolán McNamara | |
2011-08-18 | move unix only stuff to unx | Caolán McNamara | |
2011-08-18 | remove various casts from ServerFont to FreetypeServeFont | Caolán McNamara | |
i.e. add the missing api directly to ServerFont | |||
2011-08-18 | USE_BUILTIN_RASTERIZER is never set | Caolán McNamara | |
2011-08-17 | When painting overlapped controls, paint the bottom one first. | Kohei Yoshida | |
Then work our way frontward and paint the top one last. | |||
2011-08-17 | add and use a matchL | Caolán McNamara | |
2011-08-17 | calculate lengths at compile time | Caolán McNamara | |
2011-08-15 | callcatcher: Remove unused ButtonDialog methods. | Jan Holesovsky | |
2011-08-15 | callcatcher: Remove unused Button methods. | Jan Holesovsky | |
mpBitmapEx member is unused after this too, remove. | |||
2011-08-15 | callcatcher: Remove unused ComboBox-related methods. | Jan Holesovsky | |
2011-08-15 | callcatcher: Remove unused ListBox-related methods. | Jan Holesovsky | |
2011-08-15 | lets keep original encoding | Caolán McNamara | |
2011-08-15 | make these pure virtual to prove all implemented in sole sub-class | Caolán McNamara | |
Facilitates merging of ServerFont and FreetypeServerFont | |||
2011-08-15 | virtual method with wrong name, doesn't override what it thinks it does | Caolán McNamara | |
2011-08-15 | VirtDevServerFont isn't really implemented, remove to allow to simplify | Caolán McNamara | |
2011-08-15 | turn on cairo rendering of vertical text | Caolán McNamara | |
2011-08-15 | Commit fee11cbc61 changed encoding to UTF8, revert that. | Jan Holesovsky | |
2011-08-14 | Preserve CollateSingleJobs between calls to print dialog | Alex Kempshall | |
Preserves the CollateSingleJobs between calls to print dialog | |||
2011-08-13 | Replace removed ByteString API usage | Norbert Thiebaud | |