summaryrefslogtreecommitdiffstats
path: root/vcl
Commit message (Collapse)AuthorAgeFilesLines
* Make CmpKernData a true strict weak ordering for use in std::sort.Stephan Bergmann2011-09-081-1/+1
|
* cppcheck cleaning: duplicate expression on both sides of <Korrawit Pruegsanusak2011-09-081-1/+1
|
* [cppchecker] local variable deletedPierre-André Jacquod2011-09-061-1/+1
| | | | | this local declaration makes no sense, based on the previous code, it seems this is a rest of the former code change
* now we can ditch these unused methodsCaolán McNamara2011-09-052-41/+0
|
* These multi-lingual IMs have been always disabled for LinuxCaolán McNamara2011-09-0510-225/+71
| | | | | | Where not-Linux was in practice solaris. We can be pretty sure that the ismultlingual path is effectively unused. so following that chain of logic quite a bit can go.
* callcatcher: drop some Impl methods, regenerate listCaolán McNamara2011-09-059-141/+0
|
* remove recently unused methodsCaolán McNamara2011-09-024-74/+0
|
* unusedcode.easy: vcl::unotools cleanupJoseph Powers2011-09-012-144/+0
|
* unusedcode.easy: PDFWriter cleanupJoseph Powers2011-09-014-424/+0
|
* slightly buggy commit 66141a46a44fa1c96694e98453e28c077ca23f48 from 20/11/2008Julien Nabet2011-09-011-1/+0
|
* Some cppcheck cleaningJulien Nabet2011-09-011-1/+1
|
* make the overlap smallerRadek Doulik2011-09-011-1/+1
|
* fix for linear gradient export to PDFMuthu Subramanian2011-09-011-4/+16
| | | | Signed-off-by: Radek Doulik <rodo@novell.com>
* make sure we stay in array boundsRadek Doulik2011-09-011-2/+4
|
* Fixes fdo#38683 calculation of interline spacing on unx platformsKhaled Hosny2011-09-011-53/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Polyline improvement for WindowsDmitry A Ashkadov2011-08-291-0/+35
| | | | | | | | | | | | | 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().
* callcatcher: drop various unused methodsCaolán McNamara2011-08-293-20/+0
|
* valgrind: various unused codeCaolán McNamara2011-08-294-25/+0
|
* callcatcher: some unused codeCaolán McNamara2011-08-262-15/+0
|
* avoid crash on shutdown with unprocessed events pending post SalDisplay dtorCaolán McNamara2011-08-241-13/+22
|
* potential WaECaolán McNamara2011-08-241-1/+1
|
* catch ignored exceptions by const referenceTakeshi Abe2011-08-241-1/+1
|
* dlopen() librsvg-2.so.2 instead of .so which would require -dev(el) packagesRene Engelhard2011-08-231-2/+2
|
* generate listCaolán McNamara2011-08-232-9/+0
|
* Remove assertion that does not compileTor Lillqvist2011-08-231-1/+0
|
* Enable CUPS unconditionallyFrançois Tigeot2011-08-222-42/+1
| | | | | It doesn't make sense to try to use anything else to print on *nix systems these days
* regenerate up to date listCaolán McNamara2011-08-222-8/+0
|
* regoptions (etc.) now unused post registration-removalCaolán McNamara2011-08-222-23/+0
|
* gsl_getSystemTextEncoding->osl_getThreadTextEncodingCaolán McNamara2011-08-227-11/+11
|
* callcatcher: various methodsCaolán McNamara2011-08-222-12/+0
|
* callcatcher: remove unused methodsCaolán McNamara2011-08-222-2/+0
|
* ditch product registration implementationCaolán McNamara2011-08-222-419/+0
|
* callcatcher: post cairo-text remove unused legacy methodsCaolán McNamara2011-08-224-372/+1
|
* detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly setNorbert Thiebaud2011-08-191-1/+1
|
* Fixes link error on Windows.Kohei Yoshida2011-08-191-1/+2
|
* now cairo is the only way to render text under XCaolán McNamara2011-08-194-31/+11
|
* Merge FreetypeServerFont and ServerFont now its split out into unxCaolán McNamara2011-08-195-174/+126
|
* and so glyphcache.hxx is revealed to be unx onlyCaolán McNamara2011-08-188-17/+9
|
* move unix only stuff to unxCaolán McNamara2011-08-187-5/+5
|
* remove various casts from ServerFont to FreetypeServeFontCaolán McNamara2011-08-188-38/+52
| | | | i.e. add the missing api directly to ServerFont
* USE_BUILTIN_RASTERIZER is never setCaolán McNamara2011-08-181-8/+0
|
* When painting overlapped controls, paint the bottom one first.Kohei Yoshida2011-08-171-3/+3
| | | | Then work our way frontward and paint the top one last.
* add and use a matchLCaolán McNamara2011-08-172-80/+89
|
* calculate lengths at compile timeCaolán McNamara2011-08-171-17/+27
|
* callcatcher: Remove unused ButtonDialog methods.Jan Holesovsky2011-08-152-68/+0
|
* callcatcher: Remove unused Button methods.Jan Holesovsky2011-08-152-100/+3
| | | | mpBitmapEx member is unused after this too, remove.
* callcatcher: Remove unused ComboBox-related methods.Jan Holesovsky2011-08-152-71/+0
|
* callcatcher: Remove unused ListBox-related methods.Jan Holesovsky2011-08-152-97/+1
|
* lets keep original encodingCaolán McNamara2011-08-151-3/+3
|
* make these pure virtual to prove all implemented in sole sub-classCaolán McNamara2011-08-151-14/+13
| | | | Facilitates merging of ServerFont and FreetypeServerFont