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
146b507f
Kaydet (Commit)
146b507f
authored
Tem 14, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ENABLE_ICU_LAYOUT is always enabled
Change-Id: Ie29dd409b95e477a10536468ec320a59cc96a1a9
üst
7b689371
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
26 deletions
+7
-26
gcach_layout.cxx
vcl/generic/glyphs/gcach_layout.cxx
+7
-26
No files found.
vcl/generic/glyphs/gcach_layout.cxx
Dosyayı görüntüle @
146b507f
...
...
@@ -26,8 +26,6 @@
*
************************************************************************/
#define ENABLE_ICU_LAYOUT
#include <gcach_ftyp.hxx>
#include <sallayout.hxx>
#include <salgdi.hxx>
...
...
@@ -37,6 +35,13 @@
#include <sal/alloca.h>
#include <rtl/instance.hxx>
#include <layout/LayoutEngine.h>
#include <layout/LEFontInstance.h>
#include <layout/LEScripts.h>
#include <unicode/uscript.h>
#include <unicode/ubidi.h>
namespace
{
struct
SimpleLayoutEngine
:
public
rtl
::
Static
<
ServerFontLayoutEngine
,
SimpleLayoutEngine
>
{};
}
// =======================================================================
...
...
@@ -157,25 +162,6 @@ bool ServerFontLayoutEngine::operator()( ServerFontLayout& rLayout, ImplLayoutAr
// bridge to ICU LayoutEngine
// =======================================================================
#ifdef ENABLE_ICU_LAYOUT
// disable warnings in icu layout headers
#if defined __SUNPRO_CC
#pragma disable_warn
#endif
#include <layout/LayoutEngine.h>
#include <layout/LEFontInstance.h>
#include <layout/LEScripts.h>
// enable warnings again
#if defined __SUNPRO_CC
#pragma enable_warn
#endif
#include <unicode/uscript.h>
#include <unicode/ubidi.h>
using
namespace
U_ICU_NAMESPACE
;
static
const
LEGlyphID
ICU_DELETED_GLYPH
=
0xFFFF
;
...
...
@@ -641,18 +627,13 @@ bool IcuLayoutEngine::operator()( ServerFontLayout& rLayout, ImplLayoutArgs& rAr
return
true
;
}
#endif // ENABLE_ICU_LAYOUT
// =======================================================================
ServerFontLayoutEngine
*
ServerFont
::
GetLayoutEngine
()
{
// find best layout engine for font, platform, script and language
#ifdef ENABLE_ICU_LAYOUT
if
(
!
mpLayoutEngine
&&
FT_IS_SFNT
(
maFaceFT
)
)
mpLayoutEngine
=
new
IcuLayoutEngine
(
*
this
);
#endif // ENABLE_ICU_LAYOUT
return
mpLayoutEngine
;
}
...
...
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