# HG changeset patch # User Frank Benoit # Date 1208135288 -7200 # Node ID d0467f3a67b3326366fc0631327642c263c830ca # Parent 41c2c84fd73ca3ba4771ecc8b6a0d990b458c5e8 remove debug prints diff -r 41c2c84fd73c -r d0467f3a67b3 dwtx/jface/resource/FontRegistry.d --- a/dwtx/jface/resource/FontRegistry.d Mon Apr 14 02:10:46 2008 +0200 +++ b/dwtx/jface/resource/FontRegistry.d Mon Apr 14 03:08:08 2008 +0200 @@ -46,7 +46,6 @@ import dwt.dwthelper.utils; import dwt.dwthelper.Runnable; version(Windows) import dwt.internal.win32.OS; -import tango.util.log.Trace; /** * A font registry maintains a mapping between symbolic font names @@ -352,19 +351,15 @@ else version( Windows ){ ImportData propdata; if( OS.IsWin95 && OS.WIN32_VERSION >= OS.VERSION (4, 10 )){ - Trace.formatln( "JFaceResources {}, load win98", __LINE__ ); propdata = getImportData!( prefix ~ "windows98" ~ postfix ); } else if( OS.WIN32_VERSION >= OS.VERSION (5, 1 )){ - Trace.formatln( "JFaceResources {}, load winXP", __LINE__ ); propdata = getImportData!( prefix ~ "windowsxp" ~ postfix ); } else if( OS.WIN32_VERSION >= OS.VERSION (5, 0)){ - Trace.formatln( "JFaceResources {}, load win2k", __LINE__ ); propdata = getImportData!( prefix ~ "windows2000" ~ postfix ); } else if( OS.WIN32_VERSION >= OS.VERSION (4, 0)){ - Trace.formatln( "JFaceResources {}, load winNT", __LINE__ ); propdata = getImportData!( prefix ~ "windowsnt" ~ postfix ); } else{ @@ -681,11 +676,9 @@ * @return FontRecird */ private FontRecord getFontRecord(String symbolicName) { - Trace.formatln( "FontRegistry {}: symbolicName={}",__LINE__,symbolicName); Assert.isNotNull(symbolicName); auto result1 = stringToFontRecord.find(symbolicName); if (result1 !is null) { - Trace.formatln( "FontRegistry {}: ",__LINE__, (cast(FontRecord) result1).baseFont.toString ); return cast(FontRecord) result1; } @@ -704,10 +697,6 @@ } stringToFontRecord.add(symbolicName.dup, fontRecord); - Trace.formatln( "FontRegistry {}: {}",__LINE__,fontRecord.baseFont.toString); - foreach( fd; fontRecord.baseFont.getFontData() ){ - Trace.formatln( "FontRegistry {}: fontdata={}",__LINE__,fd.toString); - } return fontRecord; }