mirror of https://github.com/axmolengine/axmol.git
[Android][freetype] Change streamingParsingEnabled to true
Add noCompress config to build.gradle for all templates & tests project Exists project, please add follow config android { // Other configs // ... // noCompress config aaptOptions { noCompress 'mp3','ogg','wav','mp4','ttf','ttc' } }
This commit is contained in:
parent
8dd0aef742
commit
6131b237b2
|
@ -41,11 +41,7 @@ NS_CC_BEGIN
|
|||
|
||||
FT_Library FontFreeType::_FTlibrary;
|
||||
bool FontFreeType::_FTInitialized = false;
|
||||
#if !defined(__ANDROID__)
|
||||
bool FontFreeType::_streamParsingEnabled = true;
|
||||
#else
|
||||
bool FontFreeType::_streamParsingEnabled = false;
|
||||
#endif
|
||||
bool FontFreeType::_doNativeBytecodeHinting = true;
|
||||
const int FontFreeType::DistanceMapSpread = 6;
|
||||
|
||||
|
|
|
@ -83,6 +83,10 @@ android {
|
|||
renderscriptDebuggable true
|
||||
}
|
||||
}
|
||||
|
||||
aaptOptions {
|
||||
noCompress 'mp3','ogg','wav','mp4','ttf','ttc'
|
||||
}
|
||||
}
|
||||
|
||||
android.applicationVariants.all { variant ->
|
||||
|
|
|
@ -84,6 +84,10 @@ android {
|
|||
renderscriptDebuggable true
|
||||
}
|
||||
}
|
||||
|
||||
aaptOptions {
|
||||
noCompress 'mp3','ogg','wav','mp4','ttf','ttc'
|
||||
}
|
||||
}
|
||||
|
||||
android.applicationVariants.all { variant ->
|
||||
|
|
|
@ -84,6 +84,10 @@ android {
|
|||
renderscriptDebuggable true
|
||||
}
|
||||
}
|
||||
|
||||
aaptOptions {
|
||||
noCompress 'mp3','ogg','wav','mp4','ttf','ttc'
|
||||
}
|
||||
}
|
||||
|
||||
android.applicationVariants.all { variant ->
|
||||
|
|
|
@ -85,6 +85,10 @@ android {
|
|||
renderscriptDebuggable true
|
||||
}
|
||||
}
|
||||
|
||||
aaptOptions {
|
||||
noCompress 'mp3','ogg','wav','mp4','ttf','ttc'
|
||||
}
|
||||
}
|
||||
|
||||
android.applicationVariants.all { variant ->
|
||||
|
|
|
@ -84,6 +84,10 @@ android {
|
|||
renderscriptDebuggable true
|
||||
}
|
||||
}
|
||||
|
||||
aaptOptions {
|
||||
noCompress 'mp3','ogg','wav','mp4','ttf','ttc'
|
||||
}
|
||||
}
|
||||
|
||||
android.applicationVariants.all { variant ->
|
||||
|
|
Loading…
Reference in New Issue