125126127128129130131132133134135
return new BDFFont(container); } catch (IOException e) { throw e; } catch (Exception e) { FontFormatException ffe = new FontFormatException("bad bdf format"); ffe.initCause(e); throw ffe; } } /**
120121122123124125126127128129130
return new TTFFont(data, 10); } catch (IOException e) { throw e; } catch (Exception e) { FontFormatException ffe = new FontFormatException("bad ttf format"); ffe.initCause(e); throw ffe; } } /**