@ -153,7 +153,7 @@ AbstractFontTest::AbstractFontTest() {
void AbstractFontTest : : construct ( ) {
void AbstractFontTest : : construct ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -164,7 +164,7 @@ void AbstractFontTest::construct() {
}
}
} font ;
} font ;
CORRADE_COMPARE ( font . features ( ) , Abstract Font: : Features { } ) ;
CORRADE_COMPARE ( font . features ( ) , FontFeatures { } ) ;
CORRADE_VERIFY ( ! font . isOpened ( ) ) ;
CORRADE_VERIFY ( ! font . isOpened ( ) ) ;
font . close ( ) ;
font . close ( ) ;
@ -173,7 +173,7 @@ void AbstractFontTest::construct() {
void AbstractFontTest : : openData ( ) {
void AbstractFontTest : : openData ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return _opened ; }
bool doIsOpened ( ) const override { return _opened ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -203,7 +203,7 @@ void AbstractFontTest::openData() {
void AbstractFontTest : : openFileAsData ( ) {
void AbstractFontTest : : openFileAsData ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return _opened ; }
bool doIsOpened ( ) const override { return _opened ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -233,7 +233,7 @@ void AbstractFontTest::openFileAsData() {
void AbstractFontTest : : openFileAsDataNotFound ( ) {
void AbstractFontTest : : openFileAsDataNotFound ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -253,7 +253,7 @@ void AbstractFontTest::openFileAsDataNotFound() {
void AbstractFontTest : : openFileNotImplemented ( ) {
void AbstractFontTest : : openFileNotImplemented ( ) {
struct : AbstractFont {
struct : AbstractFont {
/* Supports neither file nor data opening */
/* Supports neither file nor data opening */
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -273,7 +273,7 @@ void AbstractFontTest::openFileNotImplemented() {
void AbstractFontTest : : openDataNotSupported ( ) {
void AbstractFontTest : : openDataNotSupported ( ) {
struct : AbstractFont {
struct : AbstractFont {
/* Supports neither file nor data opening */
/* Supports neither file nor data opening */
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -292,7 +292,7 @@ void AbstractFontTest::openDataNotSupported() {
void AbstractFontTest : : openDataNotImplemented ( ) {
void AbstractFontTest : : openDataNotImplemented ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -312,7 +312,7 @@ void AbstractFontTest::openDataNotImplemented() {
# ifdef MAGNUM_BUILD_DEPRECATED
# ifdef MAGNUM_BUILD_DEPRECATED
void AbstractFontTest : : openSingleDataDeprecated ( ) {
void AbstractFontTest : : openSingleDataDeprecated ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return _opened ; }
bool doIsOpened ( ) const override { return _opened ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -344,7 +344,7 @@ void AbstractFontTest::openSingleDataDeprecated() {
void AbstractFontTest : : openMultiDataDeprecated ( ) {
void AbstractFontTest : : openMultiDataDeprecated ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return _opened ; }
bool doIsOpened ( ) const override { return _opened ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -382,7 +382,7 @@ void AbstractFontTest::openMultiDataDeprecated() {
void AbstractFontTest : : setFileCallback ( ) {
void AbstractFontTest : : setFileCallback ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData | Feature : : FileCallback ; }
FontF eatures doFeatures ( ) const override { return FontF eature : : OpenData | Font Feature: : FileCallback ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
void doSetFileCallback ( Containers : : Optional < Containers : : ArrayView < const char > > ( * ) ( const std : : string & , InputFileCallbackPolicy , void * ) , void * userData ) override {
void doSetFileCallback ( Containers : : Optional < Containers : : ArrayView < const char > > ( * ) ( const std : : string & , InputFileCallbackPolicy , void * ) , void * userData ) override {
@ -408,7 +408,7 @@ void AbstractFontTest::setFileCallback() {
void AbstractFontTest : : setFileCallbackTemplate ( ) {
void AbstractFontTest : : setFileCallbackTemplate ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData | Feature : : FileCallback ; }
FontF eatures doFeatures ( ) const override { return FontF eature : : OpenData | Font Feature: : FileCallback ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
void doSetFileCallback ( Containers : : Optional < Containers : : ArrayView < const char > > ( * ) ( const std : : string & , InputFileCallbackPolicy , void * ) , void * ) override {
void doSetFileCallback ( Containers : : Optional < Containers : : ArrayView < const char > > ( * ) ( const std : : string & , InputFileCallbackPolicy , void * ) , void * ) override {
@ -440,7 +440,7 @@ void AbstractFontTest::setFileCallbackTemplate() {
void AbstractFontTest : : setFileCallbackTemplateNull ( ) {
void AbstractFontTest : : setFileCallbackTemplateNull ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData | Feature : : FileCallback ; }
FontF eatures doFeatures ( ) const override { return FontF eature : : OpenData | Font Feature: : FileCallback ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
void doSetFileCallback ( Containers : : Optional < Containers : : ArrayView < const char > > ( * callback ) ( const std : : string & , InputFileCallbackPolicy , void * ) , void * userData ) override {
void doSetFileCallback ( Containers : : Optional < Containers : : ArrayView < const char > > ( * callback ) ( const std : : string & , InputFileCallbackPolicy , void * ) , void * userData ) override {
@ -465,7 +465,7 @@ void AbstractFontTest::setFileCallbackTemplateNull() {
void AbstractFontTest : : setFileCallbackTemplateConst ( ) {
void AbstractFontTest : : setFileCallbackTemplateConst ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData | Feature : : FileCallback ; }
FontF eatures doFeatures ( ) const override { return FontF eature : : OpenData | Font Feature: : FileCallback ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
void doSetFileCallback ( Containers : : Optional < Containers : : ArrayView < const char > > ( * ) ( const std : : string & , InputFileCallbackPolicy , void * ) , void * ) override {
void doSetFileCallback ( Containers : : Optional < Containers : : ArrayView < const char > > ( * ) ( const std : : string & , InputFileCallbackPolicy , void * ) , void * ) override {
@ -493,7 +493,7 @@ void AbstractFontTest::setFileCallbackTemplateConst() {
void AbstractFontTest : : setFileCallbackFileOpened ( ) {
void AbstractFontTest : : setFileCallbackFileOpened ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return true ; }
bool doIsOpened ( ) const override { return true ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -515,7 +515,7 @@ void AbstractFontTest::setFileCallbackFileOpened() {
void AbstractFontTest : : setFileCallbackNotImplemented ( ) {
void AbstractFontTest : : setFileCallbackNotImplemented ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : FileCallback ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : FileCallback ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -538,7 +538,7 @@ void AbstractFontTest::setFileCallbackNotImplemented() {
void AbstractFontTest : : setFileCallbackNotSupported ( ) {
void AbstractFontTest : : setFileCallbackNotSupported ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -561,7 +561,7 @@ void AbstractFontTest::setFileCallbackNotSupported() {
void AbstractFontTest : : setFileCallbackOpenFileDirectly ( ) {
void AbstractFontTest : : setFileCallbackOpenFileDirectly ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : FileCallback | Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return FontF eature : : FileCallback | Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return _opened ; }
bool doIsOpened ( ) const override { return _opened ; }
void doClose ( ) override { _opened = false ; }
void doClose ( ) override { _opened = false ; }
@ -604,7 +604,7 @@ void AbstractFontTest::setFileCallbackOpenFileDirectly() {
void AbstractFontTest : : setFileCallbackOpenFileThroughBaseImplementation ( ) {
void AbstractFontTest : : setFileCallbackOpenFileThroughBaseImplementation ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : FileCallback | Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return FontF eature : : FileCallback | Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return _opened ; }
bool doIsOpened ( ) const override { return _opened ; }
void doClose ( ) override { _opened = false ; }
void doClose ( ) override { _opened = false ; }
@ -662,7 +662,7 @@ void AbstractFontTest::setFileCallbackOpenFileThroughBaseImplementation() {
void AbstractFontTest : : setFileCallbackOpenFileThroughBaseImplementationFailed ( ) {
void AbstractFontTest : : setFileCallbackOpenFileThroughBaseImplementationFailed ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : FileCallback | Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return FontF eature : : FileCallback | Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -694,7 +694,7 @@ void AbstractFontTest::setFileCallbackOpenFileThroughBaseImplementationFailed()
void AbstractFontTest : : setFileCallbackOpenFileAsData ( ) {
void AbstractFontTest : : setFileCallbackOpenFileAsData ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return _opened ; }
bool doIsOpened ( ) const override { return _opened ; }
void doClose ( ) override { _opened = false ; }
void doClose ( ) override { _opened = false ; }
@ -753,7 +753,7 @@ void AbstractFontTest::setFileCallbackOpenFileAsData() {
void AbstractFontTest : : setFileCallbackOpenFileAsDataFailed ( ) {
void AbstractFontTest : : setFileCallbackOpenFileAsDataFailed ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -785,7 +785,7 @@ void AbstractFontTest::setFileCallbackOpenFileAsDataFailed() {
void AbstractFontTest : : properties ( ) {
void AbstractFontTest : : properties ( ) {
struct : AbstractFont {
struct : AbstractFont {
Features doFeatures ( ) const override { return Feature : : OpenData ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : OpenData ; }
bool doIsOpened ( ) const override { return _opened ; }
bool doIsOpened ( ) const override { return _opened ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -812,7 +812,7 @@ void AbstractFontTest::properties() {
void AbstractFontTest : : propertiesNoFont ( ) {
void AbstractFontTest : : propertiesNoFont ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -838,7 +838,7 @@ void AbstractFontTest::propertiesNoFont() {
void AbstractFontTest : : glyphId ( ) {
void AbstractFontTest : : glyphId ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return true ; }
bool doIsOpened ( ) const override { return true ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -854,7 +854,7 @@ void AbstractFontTest::glyphId() {
void AbstractFontTest : : glyphIdNoFont ( ) {
void AbstractFontTest : : glyphIdNoFont ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -873,7 +873,7 @@ void AbstractFontTest::glyphIdNoFont() {
void AbstractFontTest : : glyphAdvance ( ) {
void AbstractFontTest : : glyphAdvance ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return true ; }
bool doIsOpened ( ) const override { return true ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -889,7 +889,7 @@ void AbstractFontTest::glyphAdvance() {
void AbstractFontTest : : glyphAdvanceNoFont ( ) {
void AbstractFontTest : : glyphAdvanceNoFont ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -920,7 +920,7 @@ void AbstractFontTest::layout() {
} ;
} ;
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return true ; }
bool doIsOpened ( ) const override { return true ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -938,7 +938,7 @@ void AbstractFontTest::layout() {
void AbstractFontTest : : layoutNoFont ( ) {
void AbstractFontTest : : layoutNoFont ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -956,7 +956,7 @@ void AbstractFontTest::layoutNoFont() {
void AbstractFontTest : : fillGlyphCache ( ) {
void AbstractFontTest : : fillGlyphCache ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return true ; }
bool doIsOpened ( ) const override { return true ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -983,7 +983,7 @@ void AbstractFontTest::fillGlyphCache() {
void AbstractFontTest : : fillGlyphCacheNotSupported ( ) {
void AbstractFontTest : : fillGlyphCacheNotSupported ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return Feature : : PreparedGlyphCache ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : PreparedGlyphCache ; }
bool doIsOpened ( ) const override { return true ; }
bool doIsOpened ( ) const override { return true ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -1001,7 +1001,7 @@ void AbstractFontTest::fillGlyphCacheNotSupported() {
void AbstractFontTest : : fillGlyphCacheNotImplemented ( ) {
void AbstractFontTest : : fillGlyphCacheNotImplemented ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return true ; }
bool doIsOpened ( ) const override { return true ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -1019,7 +1019,7 @@ void AbstractFontTest::fillGlyphCacheNotImplemented() {
void AbstractFontTest : : fillGlyphCacheNoFont ( ) {
void AbstractFontTest : : fillGlyphCacheNoFont ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -1037,7 +1037,7 @@ void AbstractFontTest::fillGlyphCacheNoFont() {
void AbstractFontTest : : createGlyphCache ( ) {
void AbstractFontTest : : createGlyphCache ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return Feature : : PreparedGlyphCache ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : PreparedGlyphCache ; }
bool doIsOpened ( ) const override { return true ; }
bool doIsOpened ( ) const override { return true ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -1063,7 +1063,7 @@ void AbstractFontTest::createGlyphCache() {
void AbstractFontTest : : createGlyphCacheNotSupported ( ) {
void AbstractFontTest : : createGlyphCacheNotSupported ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return { } ; }
FontF eatures doFeatures ( ) const override { return { } ; }
bool doIsOpened ( ) const override { return true ; }
bool doIsOpened ( ) const override { return true ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -1080,7 +1080,7 @@ void AbstractFontTest::createGlyphCacheNotSupported() {
void AbstractFontTest : : createGlyphCacheNotImplemented ( ) {
void AbstractFontTest : : createGlyphCacheNotImplemented ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return Feature : : PreparedGlyphCache ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : PreparedGlyphCache ; }
bool doIsOpened ( ) const override { return true ; }
bool doIsOpened ( ) const override { return true ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -1097,7 +1097,7 @@ void AbstractFontTest::createGlyphCacheNotImplemented() {
void AbstractFontTest : : createGlyphCacheNoFont ( ) {
void AbstractFontTest : : createGlyphCacheNoFont ( ) {
struct MyFont : AbstractFont {
struct MyFont : AbstractFont {
Features doFeatures ( ) const override { return Feature : : PreparedGlyphCache ; }
FontF eatures doFeatures ( ) const override { return Font Feature: : PreparedGlyphCache ; }
bool doIsOpened ( ) const override { return false ; }
bool doIsOpened ( ) const override { return false ; }
void doClose ( ) override { }
void doClose ( ) override { }
@ -1115,15 +1115,15 @@ void AbstractFontTest::createGlyphCacheNoFont() {
void AbstractFontTest : : debugFeature ( ) {
void AbstractFontTest : : debugFeature ( ) {
std : : ostringstream out ;
std : : ostringstream out ;
Debug { & out } < < Abstract Font: : Feature : : OpenData < < Abstract Font: : Feature ( 0xf0 ) ;
Debug { & out } < < FontFeature : : OpenData < < FontFeature ( 0xf0 ) ;
CORRADE_COMPARE ( out . str ( ) , " Text::Abstract Font:: Feature::OpenData Text::Abstract Font:: Feature(0xf0) \n " ) ;
CORRADE_COMPARE ( out . str ( ) , " Text::FontFeature::OpenData Text::FontFeature(0xf0) \n " ) ;
}
}
void AbstractFontTest : : debugFeatures ( ) {
void AbstractFontTest : : debugFeatures ( ) {
std : : ostringstream out ;
std : : ostringstream out ;
Debug { & out } < < ( Abstract Font: : Feature : : OpenData | Abstract Font: : Feature : : PreparedGlyphCache ) < < Abstract Font: : Features { } ;
Debug { & out } < < ( FontFeature : : OpenData | FontFeature : : PreparedGlyphCache ) < < FontFeatures { } ;
CORRADE_COMPARE ( out . str ( ) , " Text::Abstract Font:: Feature::OpenData|Text::Abstract Font:: Feature::PreparedGlyphCache Text::Abstract Font:: Features{} \n " ) ;
CORRADE_COMPARE ( out . str ( ) , " Text::FontFeature::OpenData|Text::FontFeature::PreparedGlyphCache Text::FontFeatures{} \n " ) ;
}
}
} } } }
} } } }