/* * [StompEsperanto.java] * * Summary: Generate some HTML to show Esperanto Fonts. * * Copyright: (c) 2012-2017 Roedy Green, Canadian Mind Products, http://mindprod.com * * Licence: This software may be copied and used freely for any purpose but military. * http://mindprod.com/contact/nonmil.html * * Requires: JDK 1.8+ * * Created with: JetBrains IntelliJ IDEA IDE http://www.jetbrains.com/idea/ * * Version History: * 1.0 2012-11-27 initial version */ package com.mindprod.test; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import static java.lang.System.*; /** * Generate some HTML to show Esperanto Fonts. * * @author Roedy Green, Canadian Mind Products * @version 1.0 2012-11-27 initial version * @since 2012-11-27 */ public class StompEsperanto { public static void main( String[] args ) throws FileNotFoundException, IOException { // O P E N final FileReader fr = new FileReader( "E:/mindprod/jgloss/snippet/esperantofonts.txt" ); final BufferedReader br = new BufferedReader( fr, 24 * 1024 /* 24K chars (48K bytes), 75% of allocation is optimal */ ); while ( true ) { // read final String font = br.readLine(); if ( font == null ) { break; } if ( font.startsWith( "Esperanto Fonts" ) || font.startsWith( "===" ) ) { continue; } out.println( "{" + font + "[0]
\n" // no lang or overrides font + "ĉĝĥĵŝŭû " + "ĈĜĤĴŜŬÛ
\n" + "uvw wW gq9 2z 5s il17|!j
\noO08¤ ;:,‚„. "`" // 7b 7d is {} + "‘’
\n{[()]} m nn rn
}\n" ); } //end while br.close(); } // end main } // end class