summaryrefslogtreecommitdiff
path: root/vcl/generic/glyphs
AgeCommit message (Collapse)AuthorFilesLines
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-05should be able to remove SimpleLayoutEngine nowCaolán McNamara1-75/+8
Change-Id: I74d2cb7c47ec04f4276755fa1bd74779842c7832
2012-09-03Refetch fonts if new ones installed or old ones deinstalledCaolán McNamara1-0/+7
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-08-14-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2-4/+1
Change-Id: I5d37ddd95068d807d0f28dd2f00d43b227e910c5
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-20Rename the class ImplFontData into PhysicalFontFaceNorbert Thiebaud3-5/+5
Change-Id: I402481e7c6ea605c8ccfdf6cb08166859b37e8de
2012-06-19merge together hand-crafted traditional/simplified chinese testsCaolán McNamara1-21/+2
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-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-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-03-04help GlyphItems vector to be sized correctly up-frontNorbert Thiebaud1-0/+4
2012-01-31Fix for fdo43460 Part LVII getLength() to isEmpty()Olivier Hallot1-1/+1
Part LVII Modules vcl (part 1)
2012-01-17remove unused methodsThomas Arnhold1-9/+0
2011-12-13Resolves: rhbz#761009 IFSD_Equal is asymmetricalCaolán McNamara1-2/+4
2011-11-28Fix Kashida justification when there is no Kashida glyphKhaled Hosny1-1/+0
2011-11-27remove include of pch header from vclNorbert Thiebaud5-10/+0
2011-11-14callcatcher: remove freshly unused methodsCaolán McNamara1-17/+0
2011-10-27Rename ImplFontSelectData to FontSelectPattern so I know what it doesCaolán McNamara4-15/+15
Rename ImplFontSelectData to FontSelectPattern because I can never remember the name of the thing. This way I'll be able to remember that its basically the equivalent of fontconfig's FcPattern
2011-10-27Resolves: fdo#32665 handle that FreeSerif lacks some glyphs in bold/italicCaolán McNamara1-0/+7
FreeSerif lacks glyphs in bold/italic variants that it has in the normal one. A lot of our glyph fallback infrastructure, especially the caches don't expect that a normal variant of a font with extra emboldening or extra font skew can be a fallback for a bold/italic variant of itself which exists, but doesn't have the missing glyphs that the normal one does. We really need to improve our glyph/font caching, but we can get 90% of the way there by excluding such cases from the caches.
2011-10-25generic: re-structure generic code to increase re-use between backendsMichael Meeks6-0/+4453
move more chunks of unx/generic into generic/ and into libvcl itself. This allows the headless backend to remove it's X linkage finally.