Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/TextSymbolReader.java @ 180:f4eb506499f5
Done some code styling and removed TODOs.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 11 Jul 2011 12:11:08 +0200 |
parents | f3a91cd7440b |
children | 0bde090506f9 |
comparison
equal
deleted
inserted
replaced
179:f3a91cd7440b | 180:f4eb506499f5 |
---|---|
116 } | 116 } |
117 catch(IOException ioe) { | 117 catch(IOException ioe) { |
118 logger.warn("Could not read offset."); | 118 logger.warn("Could not read offset."); |
119 } | 119 } |
120 | 120 |
121 try { | 121 try { |
122 Font f = symbol.getFont(); | 122 Font f = symbol.getFont(); |
123 symbolElement.setAttribute("font", f.getName()); | 123 symbolElement.setAttribute("font", f.getName()); |
124 symbolElement.setAttribute("char_set", String.valueOf(f.getCharset())); | 124 symbolElement.setAttribute("char_set", String.valueOf(f.getCharset())); |
125 symbolElement.setAttribute("bold", String.valueOf(f.getBold())); | 125 symbolElement.setAttribute("bold", String.valueOf(f.getBold())); |
126 symbolElement.setAttribute("italic", String.valueOf(f.getItalic())); | 126 symbolElement.setAttribute("italic", String.valueOf(f.getItalic())); |