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
c5d37cc9
Kaydet (Commit)
c5d37cc9
authored
May 17, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: debug=2 Werror=format
Change-Id: I0d2768ca5398d111f7ad5a8d1f51d7a46adce22f
üst
7c7d7306
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
graphite_layout.cxx
vcl/source/glyphs/graphite_layout.cxx
+4
-4
No files found.
vcl/source/glyphs/graphite_layout.cxx
Dosyayı görüntüle @
c5d37cc9
...
@@ -755,7 +755,7 @@ DeviceCoordinate GraphiteLayout::FillDXArray( DeviceCoordinate* pDXArray ) const
...
@@ -755,7 +755,7 @@ DeviceCoordinate GraphiteLayout::FillDXArray( DeviceCoordinate* pDXArray ) const
if
(
i
>
0
)
pDXArray
[
i
]
-=
mvCharDxs
[
i
-
1
];
if
(
i
>
0
)
pDXArray
[
i
]
-=
mvCharDxs
[
i
-
1
];
}
}
#ifdef GRLAYOUT_DEBUG
#ifdef GRLAYOUT_DEBUG
fprintf
(
grLog
(),
"%d,%d,%d "
,
(
int
)
i
,
(
int
)
mvCharDxs
[
i
],
pDXArray
[
i
]);
fprintf
(
grLog
(),
"%d,%d,%
l
d "
,
(
int
)
i
,
(
int
)
mvCharDxs
[
i
],
pDXArray
[
i
]);
#endif
#endif
}
}
//std::adjacent_difference(mvCharDxs.begin(), mvCharDxs.end(), pDXArray);
//std::adjacent_difference(mvCharDxs.begin(), mvCharDxs.end(), pDXArray);
...
@@ -892,7 +892,7 @@ void GraphiteLayout::ApplyDXArray(ImplLayoutArgs &args, std::vector<int> & rDelt
...
@@ -892,7 +892,7 @@ void GraphiteLayout::ApplyDXArray(ImplLayoutArgs &args, std::vector<int> & rDelt
#ifdef GRLAYOUT_DEBUG
#ifdef GRLAYOUT_DEBUG
for
(
size_t
iDx
=
0
;
iDx
<
mvCharDxs
.
size
();
iDx
++
)
for
(
size_t
iDx
=
0
;
iDx
<
mvCharDxs
.
size
();
iDx
++
)
fprintf
(
grLog
(),
"%d,%d,%d "
,
(
int
)
iDx
,
(
int
)
mvCharDxs
[
iDx
],
args
.
mpDXArray
[
iDx
]);
fprintf
(
grLog
(),
"%d,%d,%
l
d "
,
(
int
)
iDx
,
(
int
)
mvCharDxs
[
iDx
],
args
.
mpDXArray
[
iDx
]);
fprintf
(
grLog
(),
"ApplyDx
\n
"
);
fprintf
(
grLog
(),
"ApplyDx
\n
"
);
#endif
#endif
bool
bRtl
=
mnLayoutFlags
&
SAL_LAYOUT_BIDI_RTL
;
bool
bRtl
=
mnLayoutFlags
&
SAL_LAYOUT_BIDI_RTL
;
...
@@ -1010,7 +1010,7 @@ void GraphiteLayout::ApplyDXArray(ImplLayoutArgs &args, std::vector<int> & rDelt
...
@@ -1010,7 +1010,7 @@ void GraphiteLayout::ApplyDXArray(ImplLayoutArgs &args, std::vector<int> & rDelt
std
::
copy
(
args
.
mpDXArray
,
args
.
mpDXArray
+
nChars
,
std
::
copy
(
args
.
mpDXArray
,
args
.
mpDXArray
+
nChars
,
mvCharDxs
.
begin
()
+
(
args
.
mnMinCharPos
-
mnMinCharPos
));
mvCharDxs
.
begin
()
+
(
args
.
mnMinCharPos
-
mnMinCharPos
));
#ifdef GRLAYOUT_DEBUG
#ifdef GRLAYOUT_DEBUG
fprintf
(
grLog
(),
"ApplyDx %d(%ld)
\n
"
,
args
.
mpDXArray
[
nChars
-
1
],
mnWidth
);
fprintf
(
grLog
(),
"ApplyDx %
l
d(%ld)
\n
"
,
args
.
mpDXArray
[
nChars
-
1
],
mnWidth
);
#endif
#endif
mnWidth
=
args
.
mpDXArray
[
nChars
-
1
];
mnWidth
=
args
.
mpDXArray
[
nChars
-
1
];
}
}
...
@@ -1189,7 +1189,7 @@ void GraphiteLayout::GetCaretPositions( int nArraySize, long* pCaretXArray ) con
...
@@ -1189,7 +1189,7 @@ void GraphiteLayout::GetCaretPositions( int nArraySize, long* pCaretXArray ) con
pCaretXArray
[
i
]
=
pCaretXArray
[
i
+
1
]
=
0
;
pCaretXArray
[
i
]
=
pCaretXArray
[
i
+
1
]
=
0
;
}
}
#ifdef GRLAYOUT_DEBUG
#ifdef GRLAYOUT_DEBUG
fprintf
(
grLog
(),
"%d,%
d-%
d
\t
"
,
nCharSlot
,
pCaretXArray
[
i
],
pCaretXArray
[
i
+
1
]);
fprintf
(
grLog
(),
"%d,%
ld-%l
d
\t
"
,
nCharSlot
,
pCaretXArray
[
i
],
pCaretXArray
[
i
+
1
]);
#endif
#endif
}
}
#ifdef GRLAYOUT_DEBUG
#ifdef GRLAYOUT_DEBUG
...
...
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