Age | Commit message (Collapse) | Author |
|
It seems to be used to draw something related to rulers, which we of
course don't show at all, but apparently they get initialised anyway.
So, to avoid a warning, handle this format, too. (As such, I am not
sure if I handle BGRA the right way, but there is no way to check as
nothing works properly in this branch at the moment anyway.)
Change-Id: I6a7444872f90a34e1e568769a595443c45aa6722
|
|
Change-Id: I94627e5b4efda92ac80a618e5aa4b0b33340f4ef
|
|
I left only the Windows one because it being called (as
GetKernPairs(0, NULL), but may be it does something, who knows).
Change-Id: Iec05d61c8f0cd311a1158bb1cb07e4ee977f32fe
Reviewed-on: https://gerrit.libreoffice.org/6260
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
|
|
Change-Id: I6f640c0c4459f8330261ca59145a10b7a624bbe8
|
|
Change-Id: I7495f86cb35b6f712cfb7d603f022f6f6c407266
|
|
Change-Id: Ibaef9701ad4ba1bda1068c0dfa34f83c09a4e409
Reviewed-on: https://gerrit.libreoffice.org/5711
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
|
|
This is a follow up commit to
- 22d1beb78a475e4846af945afde1c4d6c263b5d6
- 1c7af455ab9345304a7ac48ce2e0310de2ac8a75
Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
|
|
Change-Id: I8a0c09087e522cbd8ee6a25b71541514e562a618
|
|
We have to register them one at a time, like windows, this means we detect our
bundled opensymbol which makes the "format->bullets and numbering" preview work
again.
Doesn't however fix fdo#68192 yet, more magic smoke required.
Change-Id: I430c91b48d96fb8d62e3b073898b72cf2b8ddea6
|
|
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3
Reviewed-on: https://gerrit.libreoffice.org/5550
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
|
|
Change all instances of hardcoded "program", "share" etc subfolder names to
use those from <config_folders.h> instead. In normal builds, the end result
will not change.
Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
|
|
The CTLayout constructor called CFRetain() on the associated
CTTextStyle's attribute directory (a CFMutableDictionaryRef) and the
destructor then called CFRelease() on it, even if there was no
guarantee it was still the same CTTextStyle. And in the scenario that
caused this crash, AquaSalGraphics::SetFont() had in fact deleted the
original CTTextStyle and created a new one.
It seems to me that these CFRetain() and CFRelease() calls are not
necessary.
Change-Id: I18e03965dd05d450955353f8c48f111c19a069e3
|
|
Change-Id: Ie9f5bfaa8230f97cbce1c26ef4bb86ae8e248d5e
|
|
Using lrint() helps a bit, but does not fix the issue entirely.
Change-Id: Ib80e2c5a57d632f289e49322d3712c6321ae1ec2
|
|
Change-Id: I4067c5039c7b5c74a1c144721dd7260de54dd2bf
|
|
And fix the previous commit for synthetic italic a bit.
Change-Id: Ia5977d53739b7a6eaaccbf3aeb24adb820ca05c6
|
|
Core Text does not fake missing italic and bold (unlike ATSUI), so we
have to do it on our own. This commit handles fake italic, bold is a bit
harder.
Change-Id: I4e705669638f67e3c8ec414f2cadd0c6daea9bcb
|
|
Change-Id: If8cd564b03712a8835788386afd83cc97ce04a98
|
|
We should be setting mnExtLeading not mnIntLeading, at least this is
what ATSUI code was doing.
Change-Id: Ibe69da4ea60630a31593b538f55fd2cd95642bf9
|
|
When drawing right aligned text, rounding errors in the position
returned by GetDrawPosition() cause the right margin of the text to
change whenever text width changes causing "jumping letters" effect. So
here we calculate the drawing position relative to the right margin on
our own to avoid the rounding errors. That is basically a hack, and it
should go away if one day we managed to get rid of those rounding
errors.
Continue using GetDrawPosition() for non-right aligned text, to minimize
any unforeseen side effects.
Change-Id: Ia095a17a41f723f5fb7afc99df4250262e9a0051
|
|
Apparently we need to subtract the trailing white space from the desired
line length or text will sometimes protrude to the margin.
Change-Id: Iee5ef40670c2fefc189afa319387b180c4ed648d
|
|
Change-Id: I093586b0c979e492ea2a09dca9525b808de3ce70
|
|
Change-Id: Id3ec71e8da07a8bf1c979585eb84cd5a9d6f7a77
|
|
Change-Id: I8c9ee84afd71481c2c6b002265b86e048f369f5c
|
|
was broken in 35b0a4cd274c1567cf0b8067eb01f17b82ee9f35
Change-Id: I803b510fc875ff9e48ed762114f6d63dad51ad7a
|
|
Change-Id: Ib4cb8643f25c8516a91a5d805a5834687d42724e
|
|
kCTFontDisplayNameAttribute is something like Foo Regular and Foo Bold,
we certainly don’t want that.
Change-Id: Ia24a2abfcbb28883b2c3d05f66070583ddb862c9
|
|
Change-Id: I665826017f03b123a8b80d6cf31e37d18e169d10
|
|
Lets just assume Core Text does not need this and react if a real
problem with “huge” font sizes arise.
Change-Id: I4031e7ca34692eb041ab10154df0064ab5efb462
|
|
Our ATSUI port did not disable kerning, so we shouldn’t disable it with
Core Text, and ligature are enabled by default anyway.
Change-Id: If3ee5fd14376c7d297c288ba6761a45ce2901a1e
|
|
We need to pass the real font used to layout the glyphs in case it
differs from the requested font, otherwise we end with garbage in PDF
files.
Change-Id: I9caa8e60429e45ee864f5347fd9392f5e440864e
Reviewed-on: https://gerrit.libreoffice.org/4299
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Tested-by: Khaled Hosny <khaledhosny@eglug.org>
|
|
This is only used in conjunction with SalLayout::GetNextGlyphs() in
vcl/source/gdi/pdfwriter_impl.cxx to retrieve the fallback font, if any,
used to layout the given glyph, but it is a very convoluted way to do a
straight forward thing, and hard to adapt for new SalLayout
implementations.
So now I just pass a fallback fonts array, when requested, in
GetNextGlyphs() itself.
Change-Id: I24e7931f64867a4fb4e7b728c65faa6198e24aba
Reviewed-on: https://gerrit.libreoffice.org/4285
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Tested-by: Khaled Hosny <khaledhosny@eglug.org>
|
|
Change-Id: Ic5fc06e38db6f2111d516c53b6d1be2e47a7ced7
|
|
Change-Id: Id7c6077ea0e45d848be099d48ef4d7207e65a06f
|
|
Now the iOS app displays the test document successfully again.
Change-Id: I71aeacc50e51a28ba1e8b67c7da42da0c848f997
|
|
Change-Id: Ib3fc01213fc6bc370a6c8b774a063f6f275ba6f2
|
|
Some refactoring was needed after the Coretext rework yesterday.
It does crash at run-time, though.
Also, remove the no longer used source files from our older CoreText
attempt.
Change-Id: I54d221ade846866d7a9457acd50219c74c68e8cf
|
|
Whatever this is, all it seems to do it to cause jitter when editing
text. The only place where this has any use is when editing RTL text
since Core Text seems to always place the trailing space on the right.
Change-Id: I35726775fb2a11761d264238fe702e58bbafd7fd
|
|
Change-Id: I2ad35bfbaf40dd1a5b5c9f7f119268b8f30ca093
|
|
It have been unused on Mac OS X since since 2008 (commit
da4d070d9d2d563f6e1401496957b22b51c81ff9).
Change-Id: I4b3eabe71a54021903009310a87319c9caecfd4c
|
|
Change-Id: I660a895a227da3d28a0b410c56f2395961a5bc4f
|
|
This file is Core Text only already.
Change-Id: Ic4c1f44296eaae582091e515d3ca1b4aa227301e
|
|
Change-Id: Ife8ca88c8f558955ee006be6294bd7b233e89916
|
|
Change-Id: I125e4cacd94cd33d24cf1266967eb92906600cc4
|
|
Our Mac OS X baseline includes Core Text.
Change-Id: Icd2f0062d172db1d4393b2dd1eac4d9f55a88495
|
|
Change-Id: I592158bd60afcbe756c6f0e11aa69a44768a0985
|
|
Manually picked from:
http://svn.apache.org/viewvc?view=revision&sortby=log&revision=1480384
Author: hdu
Date: Wed May 8 18:14:34 2013 UTC (3 weeks, 2 days ago)
Changed paths: 55
Log Message: #i122195# add VCL support for 64bit OSX>=10.7
Change-Id: Ia799d7fdeb257e9bfd311338dcfdf97caf9d191f
|
|
Breaks the build for Windows: vcl/win/source/gdi/winlayout.cxx(1897) :
error C2065: 'nCharPos' : undeclared identifier
This reverts commit 0b70e4ea4fcf0adccdfdf4886e5cc45d46479692.
|
|
Change-Id: Idebc7f69f95d8f72626373475d8611ea68f1483a
|
|
Change-Id: I858832a41ef140fa9916e05548edf2df6b0af451
|