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
a83de85d
Kaydet (Commit)
a83de85d
authored
Mar 19, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove un-necessary type punning.
Change-Id: I4f05929daa8b78b309d8a0498a2bb3246af9e18a
üst
3a091f8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
outdevstate.cxx
vcl/source/outdev/outdevstate.cxx
+1
-0
text.cxx
vcl/source/outdev/text.cxx
+4
-4
No files found.
vcl/source/outdev/outdevstate.cxx
Dosyayı görüntüle @
a83de85d
...
@@ -641,6 +641,7 @@ void OutputDevice::InitFillColor()
...
@@ -641,6 +641,7 @@ void OutputDevice::InitFillColor()
void
OutputDevice
::
ImplReleaseFonts
()
void
OutputDevice
::
ImplReleaseFonts
()
{
{
mpGraphics
->
ReleaseFonts
();
mpGraphics
->
ReleaseFonts
();
mbNewFont
=
true
;
mbNewFont
=
true
;
mbInitFont
=
true
;
mbInitFont
=
true
;
...
...
vcl/source/outdev/text.cxx
Dosyayı görüntüle @
a83de85d
...
@@ -2738,8 +2738,8 @@ bool OutputDevice::GetTextOutlines( ::basegfx::B2DPolyPolygonVector& rVector,
...
@@ -2738,8 +2738,8 @@ bool OutputDevice::GetTextOutlines( ::basegfx::B2DPolyPolygonVector& rVector,
if
(
pSalLayout
==
0
)
if
(
pSalLayout
==
0
)
return
false
;
return
false
;
long
nWidth
=
pSalLayout
->
GetTextWidth
();
long
nWidth
=
pSalLayout
->
GetTextWidth
();
long
nHeight
=
((
OutputDevice
*
)
&
aVDev
)
->
mpFontEntry
->
mnLineHeight
+
((
OutputDevice
*
)
&
aVDev
)
->
mnEmphasisAscent
long
nHeight
=
aVDev
->
mpFontEntry
->
mnLineHeight
+
aVDev
->
mnEmphasisAscent
+
+
((
OutputDevice
*
)
&
aVDev
)
->
mnEmphasisDescent
;
aVDev
->
mnEmphasisDescent
;
pSalLayout
->
Release
();
pSalLayout
->
Release
();
if
(
!
nWidth
||
!
nHeight
)
if
(
!
nWidth
||
!
nHeight
)
...
@@ -2788,8 +2788,8 @@ bool OutputDevice::GetTextOutlines( ::basegfx::B2DPolyPolygonVector& rVector,
...
@@ -2788,8 +2788,8 @@ bool OutputDevice::GetTextOutlines( ::basegfx::B2DPolyPolygonVector& rVector,
// draw glyph into virtual device
// draw glyph into virtual device
aVDev
->
Erase
();
aVDev
->
Erase
();
pSalLayout
->
DrawBase
()
+=
aOffset
;
pSalLayout
->
DrawBase
()
+=
aOffset
;
pSalLayout
->
DrawBase
()
+=
Point
(
((
OutputDevice
*
)
&
aVDev
)
->
mnTextOffX
,
((
OutputDevice
*
)
&
aVDev
)
->
mnTextOffY
);
pSalLayout
->
DrawBase
()
+=
Point
(
aVDev
->
mnTextOffX
,
aVDev
->
mnTextOffY
);
pSalLayout
->
DrawText
(
*
((
OutputDevice
*
)
&
aVDev
)
->
mpGraphics
);
pSalLayout
->
DrawText
(
*
aVDev
->
mpGraphics
);
pSalLayout
->
Release
();
pSalLayout
->
Release
();
// convert character image into outline
// convert character image into outline
...
...
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