summaryrefslogtreecommitdiff
path: root/vcl/generic
AgeCommit message (Collapse)AuthorFilesLines
2012-10-07WaE: 'driverLib' defined but not usedTor Lillqvist1-0/+2
Change-Id: If4853650958df9e425c936ead16ea11c976c5657
2012-10-07Android printing is completely different anyway, surelyTor Lillqvist1-1/+1
Change-Id: Ib58300148bbf248150f514bb3c59d863388eaa0b
2012-09-18Don't access broken service mgr during bootstrap failureStephan Bergmann1-9/+51
...so that displaying a (non-translated) error box upon BE_UNO_SERVICEMANAGER works after all. Augment the error text with an exception message where appropriate. This allows to revert fdfb7a3c4b3a89b73ab5546b9620348bc4984d8f "Related fdo#51252: Report uncaught exceptions with MessageBox on Windows" as that was to catch and display failures from instantiating the service mgr. Change-Id: I049a38e95342634796eb0e940e2ee8e55193c9d3
2012-09-17older icu's appear to have the features, but not the typedefsCaolán McNamara1-0/+7
Change-Id: Ic17ffb49e7f143366c9c200d1c04b0536f2222b4
2012-09-17Related: rhbz#857860 enable ligatures and kerning only when requestedCaolán McNamara1-1/+7
Change-Id: I8c4d9744c9a8704fbb7de5670933f2229f710fce
2012-09-17update unused code listCaolán McNamara3-68/+2
Change-Id: I4d6ad11fbe68420931e88defa20afbef290d4d24
2012-09-11default to off for packagekit usage; add --enable-packagekitRene Engelhard1-4/+4
Change-Id: Ib644cc3768ced8a1959fb9ea9f7f24e29fce87ad
2012-09-07move temporary font cleaning to a place that is run on all platformsLuboš Luňák1-3/+0
Change-Id: Idc647684772b53d36a364afd91d9695210545e19
2012-09-07move the code for adding temporary fonts to a separate classLuboš Luňák1-42/+3
I'm a bit confused on how this stuff is separated between platforms, so better do it this way. Change-Id: I2dbd9baef587c81ee37b509bde272ef970f5b118
2012-09-06basic support for temporary fontsLuboš Luňák1-0/+43
To be used when loading fonts embedded in documents. Change-Id: I634af1b35eba48872d045e726d1d879f455d6f2c
2012-09-06these warnings are only debug informational reallyCaolán McNamara1-4/+4
Change-Id: Ie3da4be7251302cb68bd80a65bf74e8bc1b2e5cd
2012-09-05should be able to remove SimpleLayoutEngine nowCaolán McNamara1-75/+8
Change-Id: I74d2cb7c47ec04f4276755fa1bd74779842c7832
2012-09-03misplaced ifdefCaolán McNamara1-1/+1
Change-Id: I006db207686d0a08ffa4e2eb044b12266cdb6dcf
2012-09-03adjust auto font installationCaolán McNamara2-54/+66
to happen on a 5 second timer and collect up as much missing stuff in one go as we can Change-Id: I79f5e70634684a2ef83e3090790531149baf529b
2012-09-03Refetch fonts if new ones installed or old ones deinstalledCaolán McNamara4-4/+31
i.e. honour gtk-fontconfig-timestamp so that if we request a font from packagekit to be installed, then we can auto-use it when it appears. Change-Id: Id0d914a3f9cd589d9e8a87bf9be4b6e47de2e191
2012-09-03make GlyphCache::InvalidateAllGlyphs do what it says it doesCaolán McNamara1-18/+8
all the things we say don't do in GlyphCache::InvalidateAllGlyphs but would do if the random debugging getenv was set are always done in the lines after the one and only call to this. Change-Id: Icd5719f12ab687568c95d59b1f6413a13cef3e3a
2012-09-03Resolves: #i96826# request font installation on render failureCaolán McNamara1-7/+124
Use packagekit interface to request font installation when glyph fallback fails Change-Id: Idb6f5cb6971bd156d7cac0a79e240246e9e0f973
2012-08-31workaround fdo#35118 in the absence of fdo#19869Caolán McNamara1-24/+39
Change-Id: Ie87671bbb9a7c883651a9467b9364dbbcd0da9a1
2012-08-14-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2-4/+1
Change-Id: I5d37ddd95068d807d0f28dd2f00d43b227e910c5
2012-08-13Resolves: fdo#53258 Aquabase-spanish-support busts ttf reader againCaolán McNamara1-3/+8
Once as #i107552# and now again as fdo#53258. This is one sick puppy of a font. It makes fontforge and fontconfig jump through hoops as well. Change-Id: Ifee780bb1463dca4e8b045828a07369e6c3863fc
2012-08-11Remove unused local varsJulien Nabet1-1/+0
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-08-07Remove non-existing forward declarationsThomas Arnhold1-1/+0
Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-07-15Resolves: fdo#31821 always process ZW[N]J in the font regardless of scriptCaolán McNamara1-0/+13
Change-Id: Icd309199b393d89e202fa9d1aba1a1ace51c6c6e
2012-07-15Resolves: fdo#31821 use icu layout whenever possibleCaolán McNamara1-3/+1
because icu knows all about otf so we don't have to, which makes things its problem and not ours. This is the default route for all "ctl" languages already so if we suffer performance issues here we should try and fix that before just reverting Change-Id: I68c8d9929ca48388f61951344f2cfc195045166f
2012-07-14ENABLE_ICU_LAYOUT is always enabledCaolán McNamara1-26/+7
Change-Id: Ie29dd409b95e477a10536468ec320a59cc96a1a9
2012-07-14Related: fdo#31821 prefer non-latn over latn, but latn over nothingCaolán McNamara1-3/+7
Change-Id: I00d4b7bdd6c35ab72ef57c3889fa4c5a7a464e05
2012-07-14Related: fdo#31821 pull tables from otf fonts as wellCaolán McNamara1-4/+7
Change-Id: If3bd4ac640aaf6b68fa4ae2a363f691601ff942b
2012-07-11Decrease header files dependenciesMatteo Casalin1-1/+0
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-02Remove unused definesThomas Arnhold1-2/+0
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-06-20Resolves: fdo#47636 cache fontconfig font substitutionsCaolán McNamara1-6/+53
But this time cache on *all* properties, not just the name, which doesn't cut it, given the things fontconfig can do, e.g. fdo#41556 Change-Id: Idfc1dbac67b6912e4985570a0b7c6ccdf47fa4a5
2012-06-20Rename the class ImplFontData into PhysicalFontFaceNorbert Thiebaud4-17/+17
Change-Id: I402481e7c6ea605c8ccfdf6cb08166859b37e8de
2012-06-19merge together hand-crafted traditional/simplified chinese testsCaolán McNamara2-43/+26
merge together a gadzillion hand-crafted isSimpleChinese/isTraditionalChinese/isKoreanVariants/isCJK implementations which should fix a goodly amount of them add a MsLangId::isFamilyNameFirst for locales where family name appears first while I'm at it. Change-Id: I65377793be037d16fe7250cd7450b28aec689e83
2012-06-13removed code commented-out in the first placeTakeshi Abe2-17/+0
Change-Id: Idb109cf767342042f1a2941c30fcf137f468e7df
2012-06-11Adapt gcach_layout.cxx to SAL_INFOStephan Bergmann2-20/+11
* ServerFont::GetFontFileName definition seems to inadvertently got lost with 8e64e571f23f969590efbf7246c464c352d8b9ec "Merge FreetypeServerFont and ServerFont now its split out into unx" * Likewise, ServerFont::GetFontFaceNumber is unused, so remove declaration (that also has no corresponding definition) Change-Id: Ia8919d4248243c434c5cdbda548f5303a468f2d3
2012-06-09fdo#46390 Move VERBOSE to OSL_DEBUG_LEVEL leftoversThomas Arnhold1-1/+1
Change-Id: Iebc7d58ad50777476d1ae69958ad90a8b86ed5d8
2012-06-04Change return PrintFontManager::countFontconfigFontsJulien Nabet1-3/+5
PrintFontManager::countFontconfigFonts returns an int but it's never used so let's drop the int returned Change-Id: Iab00916aec36b899a04555743d698a3fc1d45085
2012-06-02targeted string re-workNorbert Thiebaud1-7/+5
Change-Id: Ic1fb9f4ec0f37d4efcf43c58b903388478d52173
2012-06-02targeted string re-workNorbert Thiebaud1-5/+5
Change-Id: I0ca912c8b7e485f5ec78422150aedc72ca6df32f
2012-05-31make CheckCharacterBounds tests happy without forcing empty glyphs 1 unit wideCaolán McNamara1-5/+0
related, i#87757 and 8bafe38c569afa2e1055eb647cb7ff161ddd1230 which itself is related to ce14342c4292628a641a72d4f63d9c048e030c6a, These character bounds are backed by what's the glyph bounding box for the ink used for the glyph. Whitespace has no ink so its an empty Rectangle. Which brings the awesome RECT_EMPTY into play. It might be a bit dubious in the first place to back getCharacterBounds with the glyph bounding box in the first place, rather than maybe the advance width or some such. But lets assume that decision was intentional. So, the qa test should accept that a glyph might be of 0 width anyway. Then, tweak rectangle merging so that we can preserve the correct top-left position of an empty glyph So, we can determine the correct character index given the top-left position of an empty glyph Change-Id: I5e18460ff7cd90cd27d5eede2aa0a5494c36a5d3
2012-05-30i#87757: do not create empty Rectangle bounding box for glyphs:Michael Stahl1-0/+5
Enforce a minimum width and height of 1 in GlyphMetric::SetSize(), preventing X11SalGraphics::GetGlyphBoundRect() from returning a Rectangle that has one side set as RECT_EMPTY. This problem has surfaced due to the change of the status bar in ce14342c4292628a641a72d4f63d9c048e030c6a, causing the AccessibleStatusBarItem to fail in getCharacterBounds() because the text of the control, "Words: 0", now contains a space, for which an empty Rectangle bounding box is created, which results in a wrong return value from getCharacterBounds(): LOG> Character bounds outside component LOG> Character rect: 43, -566, 0, 0 LOG> Component rect: 91, 2, 71, 18 It turns out that the following test was disabled due to this problem, so re-enable it now: toolkit.AccessibleFixedText::com::sun::star::accessibility::XAccessibleText
2012-05-16reduce static_initialization_and_destruction chainCaolán McNamara1-6/+2
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-04-25Removed unused methods from psp::PrinterGfxChr. Rossmanith3-52/+0
2012-04-14Some vcl cleaningJulien Nabet2-14/+0
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-1/+1
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-25/+25
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-03-31vcl: use CustomTarget makefilesMatúš Kukan1-32/+0
2012-03-26merge getVerticalDeltaAngle and GetVerticalFlagsCaolán McNamara1-25/+6
2012-03-14Remove SO52 strict compatibility stuffChristina Rossmanith4-168/+2
2012-03-12replace usage of OUString::replace*AsciiL() with string literal overloadsLuboš Luňák1-4/+2
2012-03-12OString ctor for string literals without RTL_CONSTASCII stuffLuboš Luňák1-2/+2