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
34970022
Kaydet (Commit)
34970022
authored
Eki 07, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:mergeclasses
Change-Id: I9f56beebae1ea02a8914b7b25fe7565f7b0df053
üst
64d0de92
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
26 deletions
+15
-26
mergeclasses.py
compilerplugins/clang/mergeclasses.py
+1
-1
mergeclasses.results
compilerplugins/clang/mergeclasses.results
+0
-2
fontsubst.cxx
vcl/generic/fontmanager/fontsubst.cxx
+3
-16
PhysicalFontCollection.hxx
vcl/inc/PhysicalFontCollection.hxx
+2
-2
outdev.h
vcl/inc/outdev.h
+7
-3
outfont.hxx
vcl/inc/outfont.hxx
+1
-1
PhysicalFontCollection.cxx
vcl/source/font/PhysicalFontCollection.cxx
+1
-1
No files found.
compilerplugins/clang/mergeclasses.py
Dosyayı görüntüle @
34970022
...
...
@@ -66,7 +66,7 @@ for clazz in sorted(definitionSet - instantiatedSet):
if
clazz
.
find
(
"mutex"
)
!=
-
1
or
clazz
.
find
(
"Mutex"
)
!=
-
1
:
continue
otherclazz
=
next
(
iter
(
parentChildDict
[
clazz
]))
# exclude combinations that span modules because we often use those to make cross-module dependencies more manageable.
# exclude combinations that span modules because we often use those to make cross-module dependencies more manageable.
if
extractModuleName
(
clazz
)
!=
extractModuleName
(
otherclazz
):
continue
print
"merge"
,
clazz
,
"with"
,
otherclazz
...
...
compilerplugins/clang/mergeclasses.results
Dosyayı görüntüle @
34970022
...
...
@@ -46,8 +46,6 @@ merge ISwFrameControl with SwFrameMenuButtonBase
merge IXFAttrList with XFSaxAttrList
merge IXFStream with XFSaxStream
merge IXFStyle with XFStyle
merge ImplGlyphFallbackFontSubstitution with FcGlyphFallbackSubstititution
merge ImplPreMatchFontSubstitution with FcPreMatchSubstititution
merge LwpDLList with LwpParaProperty
merge LwpDLVListHead with LwpPropList
merge OldBasicPassword with basic::SfxScriptLibraryContainer
...
...
vcl/generic/fontmanager/fontsubst.cxx
Dosyayı görüntüle @
34970022
...
...
@@ -35,19 +35,6 @@
#include <unotools/fontdefs.hxx>
#include <list>
// platform specific font substitution hooks
class
FcPreMatchSubstititution
:
public
ImplPreMatchFontSubstitution
{
public
:
bool
FindFontSubstitute
(
FontSelectPattern
&
)
const
SAL_OVERRIDE
;
typedef
::
std
::
pair
<
FontSelectPatternAttributes
,
FontSelectPatternAttributes
>
value_type
;
private
:
typedef
::
std
::
list
<
value_type
>
CachedFontMapType
;
mutable
CachedFontMapType
maCachedFontMap
;
};
class
FcGlyphFallbackSubstititution
:
public
ImplGlyphFallbackFontSubstitution
{
...
...
@@ -95,7 +82,7 @@ void SalGenericInstance::RegisterFontSubstitutors( PhysicalFontCollection* pFont
// register font fallback substitutions (unless disabled by bit0)
if
(
(
nDisableBits
&
1
)
==
0
)
{
static
FcPreMatch
Substititution
aSubstPreMatch
;
static
PreMatchFont
Substititution
aSubstPreMatch
;
pFontCollection
->
SetPreMatchHook
(
&
aSubstPreMatch
);
}
...
...
@@ -138,12 +125,12 @@ namespace
:
mrAttributes
(
rAttributes
)
{
}
bool
operator
()(
const
FcPreMatch
Substititution
::
value_type
&
rOther
)
const
bool
operator
()(
const
PreMatchFont
Substititution
::
value_type
&
rOther
)
const
{
return
rOther
.
first
==
mrAttributes
;
}
};
}
bool
FcPreMatch
Substititution
::
FindFontSubstitute
(
FontSelectPattern
&
rFontSelData
)
const
bool
PreMatchFont
Substititution
::
FindFontSubstitute
(
FontSelectPattern
&
rFontSelData
)
const
{
// We don't actually want to talk to Fontconfig at all for symbol fonts
if
(
rFontSelData
.
IsSymbolFont
()
)
...
...
vcl/inc/PhysicalFontCollection.hxx
Dosyayı görüntüle @
34970022
...
...
@@ -40,7 +40,7 @@ private:
typedef
std
::
unordered_map
<
OUString
,
PhysicalFontFamily
*
,
OUStringHash
>
PhysicalFontFamilies
;
PhysicalFontFamilies
maPhysicalFontFamilies
;
ImplPreMatchFontSubs
titution
*
mpPreMatchHook
;
// device specific prematch substitution
PreMatchFontSubsti
titution
*
mpPreMatchHook
;
// device specific prematch substitution
ImplGlyphFallbackFontSubstitution
*
mpFallbackHook
;
// device specific glyph fallback substitution
public
:
...
...
@@ -63,7 +63,7 @@ public:
OUString
&
rMissingCodes
,
int
nFallbackLevel
)
const
;
// prepare platform specific font substitutions
void
SetPreMatchHook
(
ImplPreMatchFontSubs
titution
*
);
void
SetPreMatchHook
(
PreMatchFontSubsti
titution
*
);
void
SetFallbackHook
(
ImplGlyphFallbackFontSubstitution
*
);
// misc utilities
...
...
vcl/inc/outdev.h
Dosyayı görüntüle @
34970022
...
...
@@ -112,13 +112,17 @@ public:
// PreMatchFontSubstitution
// abstracts the concept of a configured font substitution
// before the availability of the originally selected font has been checked
class
ImplPreMatchFontSubstitution
:
public
ImplFontSubstitution
class
PreMatchFontSubstititution
{
public
:
virtual
bool
FindFontSubstitute
(
FontSelectPattern
&
)
const
=
0
;
bool
FindFontSubstitute
(
FontSelectPattern
&
)
const
;
typedef
::
std
::
pair
<
FontSelectPatternAttributes
,
FontSelectPatternAttributes
>
value_type
;
private
:
typedef
::
std
::
list
<
value_type
>
CachedFontMapType
;
mutable
CachedFontMapType
maCachedFontMap
;
};
// ImplGlyphFallbackFontSubstitution
// abstracts the concept of finding the best font to support an incomplete font
class
ImplGlyphFallbackFontSubstitution
...
...
vcl/inc/outfont.hxx
Dosyayı görüntüle @
34970022
...
...
@@ -37,7 +37,7 @@ class ImplGetDevFontList;
class
ImplGetDevSizeList
;
class
ImplFontEntry
;
class
ImplFontCache
;
class
ImplPreMatchFontSubs
titution
;
class
PreMatchFontSubsti
titution
;
class
ImplGlyphFallbackFontSubstitution
;
class
FontSelectPattern
;
namespace
vcl
{
class
Font
;
}
...
...
vcl/source/font/PhysicalFontCollection.cxx
Dosyayı görüntüle @
34970022
...
...
@@ -84,7 +84,7 @@ PhysicalFontCollection::~PhysicalFontCollection()
Clear
();
}
void
PhysicalFontCollection
::
SetPreMatchHook
(
ImplPreMatchFontSubs
titution
*
pHook
)
void
PhysicalFontCollection
::
SetPreMatchHook
(
PreMatchFontSubsti
titution
*
pHook
)
{
mpPreMatchHook
=
pHook
;
}
...
...
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