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
afdcc3c0
Kaydet (Commit)
afdcc3c0
authored
Şub 18, 2012
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert "vcl: bring ImplFindByLocale back (windows build)"
This reverts commit
04af5260
. This was nothing...
üst
f2601ba0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
76 deletions
+4
-76
outfont.hxx
vcl/inc/outfont.hxx
+0
-3
outdev3.cxx
vcl/source/gdi/outdev3.cxx
+4
-73
No files found.
vcl/inc/outfont.hxx
Dosyayı görüntüle @
afdcc3c0
...
...
@@ -228,9 +228,6 @@ public:
ImplGetDevFontList
*
GetDevFontList
()
const
;
ImplGetDevSizeList
*
GetDevSizeList
(
const
String
&
rFontName
)
const
;
//used by 2-level font fallback
ImplDevFontListData
*
ImplFindByLocale
(
com
::
sun
::
star
::
lang
::
Locale
&
)
const
;
protected
:
void
InitMatchData
()
const
;
bool
AreMapNamesAvailable
()
const
{
return
mbMapNames
;
}
...
...
vcl/source/gdi/outdev3.cxx
Dosyayı görüntüle @
afdcc3c0
...
...
@@ -26,8 +26,6 @@
*
************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_vcl.hxx"
#include "i18npool/mslangid.hxx"
...
...
@@ -418,35 +416,6 @@ sal_uInt16 OutputDevice::GetFontSubstituteCount()
// -----------------------------------------------------------------------
void
OutputDevice
::
GetFontSubstitute
(
sal_uInt16
n
,
XubString
&
rFontName
,
XubString
&
rReplaceFontName
,
sal_uInt16
&
rFlags
)
{
const
ImplDirectFontSubstitution
*
pSubst
=
ImplGetSVData
()
->
maGDIData
.
mpDirectFontSubst
;
if
(
pSubst
)
pSubst
->
GetFontSubstitute
(
n
,
rFontName
,
rReplaceFontName
,
rFlags
);
}
// -----------------------------------------------------------------------
bool
ImplDirectFontSubstitution
::
GetFontSubstitute
(
int
nIndex
,
String
&
rFontName
,
String
&
rSubstFontName
,
sal_uInt16
&
rFlags
)
const
{
FontSubstList
::
const_iterator
it
=
maFontSubstList
.
begin
();
for
(
int
nCount
=
0
;
(
it
!=
maFontSubstList
.
end
())
&&
(
nCount
++
!=
nIndex
);
++
it
)
;
if
(
it
==
maFontSubstList
.
end
()
)
return
false
;
const
ImplFontSubstEntry
*
pEntry
=
&
(
*
it
);
rFontName
=
pEntry
->
maName
;
rSubstFontName
=
pEntry
->
maReplaceName
;
rFlags
=
pEntry
->
mnFlags
;
return
true
;
}
// -----------------------------------------------------------------------
bool
ImplDirectFontSubstitution
::
FindFontSubstitute
(
String
&
rSubstName
,
const
String
&
rSearchName
,
sal_uInt16
nFlags
)
const
{
...
...
@@ -1699,18 +1668,6 @@ void ImplDevFontList::InitMatchData() const
}
}
//----------------------------------------------------------------------------
ImplDevFontListData
*
ImplDevFontList
::
ImplFindByLocale
(
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
)
const
{
// get the default font for a specified locale
const
DefaultFontConfiguration
&
rDefaults
=
DefaultFontConfiguration
::
get
();
const
String
aDefault
=
rDefaults
.
getUserInterfaceFont
(
rLocale
);
ImplDevFontListData
*
pFontData
=
ImplFindByTokenNames
(
aDefault
);
if
(
pFontData
)
return
pFontData
;
return
NULL
;
}
// -----------------------------------------------------------------------
ImplDevFontListData
*
ImplDevFontList
::
ImplFindByAttributes
(
sal_uLong
nSearchType
,
...
...
@@ -3178,15 +3135,6 @@ bool OutputDevice::ImplNewFont() const
// -----------------------------------------------------------------------
long
OutputDevice
::
ImplGetTextWidth
(
const
SalLayout
&
rSalLayout
)
const
{
long
nWidth
=
rSalLayout
.
GetTextWidth
();
nWidth
/=
rSalLayout
.
GetUnitsPerPixel
();
return
nWidth
;
}
// -----------------------------------------------------------------------
void
OutputDevice
::
ImplDrawTextRect
(
long
nBaseX
,
long
nBaseY
,
long
nDistX
,
long
nDistY
,
long
nWidth
,
long
nHeight
)
{
...
...
@@ -5512,13 +5460,6 @@ void OutputDevice::DrawTextLine( const Point& rPos, long nWidth,
// ------------------------------------------------------------------------
sal_Bool
OutputDevice
::
IsTextUnderlineAbove
(
const
Font
&
rFont
)
{
return
ImplIsUnderlineAbove
(
rFont
);
}
// ------------------------------------------------------------------------
void
OutputDevice
::
DrawWaveLine
(
const
Point
&
rStartPos
,
const
Point
&
rEndPos
,
sal_uInt16
nStyle
)
{
...
...
@@ -6026,7 +5967,9 @@ SalLayout* OutputDevice::ImplLayout( const String& rOrigStr,
if
(
bFilter
)
{
xub_StrLen
nCutStart
,
nCutStop
,
nOrgLen
=
nLen
;
bool
bFiltered
=
mpGraphics
->
filterText
(
rOrigStr
,
aStr
,
nMinIndex
,
nLen
,
nCutStart
,
nCutStop
);
rtl
::
OUString
aTmpStr
(
aStr
);
bool
bFiltered
=
mpGraphics
->
filterText
(
rOrigStr
,
aTmpStr
,
nMinIndex
,
nLen
,
nCutStart
,
nCutStop
);
aStr
=
aTmpStr
;
if
(
!
nLen
)
return
NULL
;
...
...
@@ -6473,8 +6416,7 @@ void OutputDevice::ImplDrawText( OutputDevice& rTargetDevice, const Rectangle& r
nFormatLines
=
nLines
-
1
;
pLineInfo
=
aMultiLineInfo
.
GetLine
(
nFormatLines
);
aLastLine
=
aStr
.
Copy
(
pLineInfo
->
GetIndex
()
);
aLastLine
.
ConvertLineEnd
(
LINEEND_LF
);
aLastLine
=
convertLineEnd
(
aStr
.
Copy
(
pLineInfo
->
GetIndex
()),
LINEEND_LF
);
// Alle LineFeed's durch Spaces ersetzen
xub_StrLen
nLastLineLen
=
aLastLine
.
Len
();
for
(
i
=
0
;
i
<
nLastLineLen
;
i
++
)
...
...
@@ -7496,17 +7438,6 @@ long OutputDevice::GetMinKashida() const
ImplFontMetricData
*
pMetric
=
&
(
pEntry
->
maMetric
);
return
ImplDevicePixelToLogicWidth
(
pMetric
->
mnMinKashida
);
}
// -----------------------------------------------------------------------
long
OutputDevice
::
GetMinKashida
(
const
Font
&
rFont
)
const
{
// select font, query Kashida, select original font again
Font
aOldFont
=
GetFont
();
const_cast
<
OutputDevice
*>
(
this
)
->
SetFont
(
rFont
);
long
aKashida
=
GetMinKashida
();
const_cast
<
OutputDevice
*>
(
this
)
->
SetFont
(
aOldFont
);
return
aKashida
;
}
// -----------------------------------------------------------------------
xub_StrLen
OutputDevice
::
ValidateKashidas
(
const
String
&
rTxt
,
...
...
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