Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
37e4920a
Kaydet (Commit)
37e4920a
authored
Ock 20, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
continue to implement drawChar for unpatched popplers without drawChar2 hack
Change-Id: Id4ad86f3f563d88777352722e397cd77cfad45e4
üst
26bd210c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
RepositoryExternal.mk
RepositoryExternal.mk
+4
-0
pdfioutdev_gpl.cxx
sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+7
-0
pdfioutdev_gpl.hxx
sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
+7
-0
No files found.
RepositoryExternal.mk
Dosyayı görüntüle @
37e4920a
...
@@ -2628,6 +2628,10 @@ endif # ENABLE_VALGRIND
...
@@ -2628,6 +2628,10 @@ endif # ENABLE_VALGRIND
ifneq ($(SYSTEM_POPPLER),)
ifneq ($(SYSTEM_POPPLER),)
define gb_LinkTarget__use_poppler
define gb_LinkTarget__use_poppler
$(call gb_LinkTarget_add_defs,$(1),\
-DSYSTEM_POPPLER_HEADERS \
)
$(call gb_LinkTarget_set_include,$(1),\
$(call gb_LinkTarget_set_include,$(1),\
$(POPPLER_CFLAGS) \
$(POPPLER_CFLAGS) \
$$(INCLUDE) \
$$(INCLUDE) \
...
...
sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
Dosyayı görüntüle @
37e4920a
...
@@ -834,10 +834,17 @@ void PDFOutDev::eoClip(GfxState *state)
...
@@ -834,10 +834,17 @@ void PDFOutDev::eoClip(GfxState *state)
local offset of character (zero for horizontal writing mode). not
local offset of character (zero for horizontal writing mode). not
taken into account for output pos updates. Used for vertical writing.
taken into account for output pos updates. Used for vertical writing.
*/
*/
#ifdef SYSTEM_POPPLER_HEADERS
void
PDFOutDev
::
drawChar
(
GfxState
*
state
,
double
x
,
double
y
,
double
dx
,
double
dy
,
double
originX
,
double
originY
,
CharCode
,
int
/*nBytes*/
,
Unicode
*
u
,
int
uLen
)
#else
void
PDFOutDev
::
drawChar2
(
GfxState
*
state
,
double
x
,
double
y
,
void
PDFOutDev
::
drawChar2
(
GfxState
*
state
,
double
x
,
double
y
,
double
dx
,
double
dy
,
double
dx
,
double
dy
,
double
originX
,
double
originY
,
double
originX
,
double
originY
,
CharCode
,
int
/*nBytes*/
,
Unicode
*
u
,
int
uLen
)
CharCode
,
int
/*nBytes*/
,
Unicode
*
u
,
int
uLen
)
#endif
{
{
assert
(
state
);
assert
(
state
);
...
...
sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
Dosyayı görüntüle @
37e4920a
...
@@ -220,10 +220,17 @@ namespace pdfi
...
@@ -220,10 +220,17 @@ namespace pdfi
virtual
void
eoClip
(
GfxState
*
state
)
SAL_OVERRIDE
;
virtual
void
eoClip
(
GfxState
*
state
)
SAL_OVERRIDE
;
//----- text drawing
//----- text drawing
#ifdef SYSTEM_POPPLER_HEADERS
virtual
void
drawChar
(
GfxState
*
state
,
double
x
,
double
y
,
double
dx
,
double
dy
,
double
originX
,
double
originY
,
CharCode
code
,
int
nBytes
,
Unicode
*
u
,
int
uLen
)
SAL_OVERRIDE
;
#else
virtual
void
drawChar2
(
GfxState
*
state
,
double
x
,
double
y
,
virtual
void
drawChar2
(
GfxState
*
state
,
double
x
,
double
y
,
double
dx
,
double
dy
,
double
dx
,
double
dy
,
double
originX
,
double
originY
,
double
originX
,
double
originY
,
CharCode
code
,
int
nBytes
,
Unicode
*
u
,
int
uLen
)
SAL_OVERRIDE
;
CharCode
code
,
int
nBytes
,
Unicode
*
u
,
int
uLen
)
SAL_OVERRIDE
;
#endif
virtual
void
drawString
(
GfxState
*
state
,
GooString
*
s
)
SAL_OVERRIDE
;
virtual
void
drawString
(
GfxState
*
state
,
GooString
*
s
)
SAL_OVERRIDE
;
virtual
void
endTextObject
(
GfxState
*
state
)
SAL_OVERRIDE
;
virtual
void
endTextObject
(
GfxState
*
state
)
SAL_OVERRIDE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment