summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
AgeCommit message (Collapse)Author
2011-09-05now we can ditch these unused methodsCaolán McNamara
2011-09-05These multi-lingual IMs have been always disabled for LinuxCaolán McNamara
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.
2011-09-01Fixes fdo#38683 calculation of interline spacing on unx platformsKhaled 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-29valgrind: various unused codeCaolán McNamara
2011-08-22Enable CUPS unconditionallyFrançois Tigeot
It doesn't make sense to try to use anything else to print on *nix systems these days
2011-08-22gsl_getSystemTextEncoding->osl_getThreadTextEncodingCaolán McNamara
2011-08-22callcatcher: post cairo-text remove unused legacy methodsCaolán McNamara
2011-08-19now cairo is the only way to render text under XCaolán McNamara
2011-08-19Merge FreetypeServerFont and ServerFont now its split out into unxCaolán McNamara
2011-08-18and so glyphcache.hxx is revealed to be unx onlyCaolán McNamara
2011-08-18move unix only stuff to unxCaolán McNamara
2011-08-18remove various casts from ServerFont to FreetypeServeFontCaolán McNamara
i.e. add the missing api directly to ServerFont
2011-08-17add and use a matchLCaolán McNamara
2011-08-17calculate lengths at compile timeCaolán McNamara
2011-08-15turn on cairo rendering of vertical textCaolán McNamara
2011-08-11ByteString::ToInt64->rtl::OString::toInt64Caolán McNamara
2011-08-05callcatcher: unused methodsCaolán McNamara
2011-08-04callcatcher: remove unused methodsCaolán McNamara
2011-08-03callcatcher: remove unused methodsThomas Arnhold
2011-08-02callcatcher: remove unused methodsThomas Arnhold
2011-08-02add vertical layout as a distinguishing font layout attributeCaolán McNamara
2011-07-28callcatcher: ditch various unused methodsCaolán McNamara
2011-07-27ByteString::CreateFromInt32->rtl::OString::valueOfCaolán McNamara
2011-07-26callcatcher: remove unused methodsThomas Arnhold
2011-07-26use new link mechanism and drop this horrible messCaolán McNamara
2011-07-26callcatcher: remove unused methodsThomas Arnhold
2011-07-25Remove vendor specific properties handling.Thomas Arnhold
This needs some testing on other platforms! About SAL_PROPERTIES in OOo Environment documentation: "If set contains a bitfield activating various bug Xserver bug workarounds. Not very useful nowadays."
2011-07-22WaE: remove now unused bFoundIconSizeCaolán McNamara
2011-07-22re-implement original GF_ROTR scaling bugCaolán McNamara
2011-07-22check return of osl_setFilePosCaolán McNamara
2011-07-22Remove unused env XENVIRONMENTThomas Arnhold
2011-07-22Remove SAL_NOSEGVThomas Arnhold
This is deprecated an non-functional. See: http://wiki.services.openoffice.org/wiki/Environment_Variables
2011-07-22WaE: remove unused variablesThomas Arnhold
2011-07-22Kill DtIntegratorThomas Arnhold
Do settings directly at UpdateSettings without DtIntegrator. This is like it's done with kde, windows, aqua,... See vcl/unx/kde/salnativewidgets-kde.cxx
2011-07-22Remove SCOThomas Arnhold
2011-07-22Kill FourDwmThomas Arnhold
2011-07-22Remove Olwm support and Windowmaker gravity handlingThomas Arnhold
WindowMaker works out of the box.
2011-07-22Remove SAL_FONTPATH and SAL_FONTPATH_PRIVATEThomas Arnhold
2011-07-22Remove SAL_WMThomas Arnhold
2011-07-22Remove supportsICCCMPos. Resize working with Sawfish anyway.Thomas Arnhold
2011-07-22Kill Dtwm/CDEThomas Arnhold
2011-07-20Replace List with std::list< ImplBmpObj* >Joseph Powers
bool should be set to "false" & "true" not the sal_ versions of them. Special thanks go to Matúš Kukan for compiling and help fixing the patch.
2011-07-20don't prohibit rendering text with cairo due to antialias advice anymoreCaolán McNamara
2011-07-20add GF_ROTL support to cairo vertical renderingCaolán McNamara
2011-07-19Resolves: rhbz#715549 use fontconfig's detected format when availableCaolán McNamara
2011-07-18Whitespace cleanupJoseph Powers
2011-07-11Cleanup some old X11 code, remove useless testsFrancois Tigeot
2011-07-11FcPatternAddFTFace is 2.4.x feature and our baseline is 2.2.0Fridrich Štrba
2011-07-08Stop pretending to stay compatible with non-XKB X serversFrancois Tigeot
2011-07-02ByteString::CreateFromInt32->rtl::OString::valueOfCaolán McNamara