777778779780781782783784785
try { _currentPage.addImage(image, (float)mx[0], (float)mx[1], (float)mx[2], (float)mx[3], (float)mx[4], (float)mx[5]); } catch (DocumentException e) { throw new XRRuntimeException(e.getMessage(), e); } } }
789790791792793794795796797798799
PdfReader reader = null; try { reader = getReader(url); } catch (IOException e) { throw new XRRuntimeException("Could not load " + url + ": " + e.getMessage(), e); } PdfImportedPage page = getWriter().getImportedPage(reader, 1);
9293949596979899100101102
FontDescription descr = new FontDescription(font); try { TrueTypeUtil.populateDescription(path, font, descr); } catch (Exception e) { throw new XRRuntimeException(e.getMessage(), e); } fontFamily.addFontDescription(descr); } else if (lower.endsWith(".ttc")) { String[] names = BaseFont.enumerateTTCNames(path);
145146147148149150151152153154155
FontDescription descr = new FontDescription(font); try { TrueTypeUtil.populateDescription(uri, afmttf, font, descr); } catch (Exception e) { throw new XRRuntimeException(e.getMessage(), e); } descr.setFromFontFace(true); fontFamily.addFontDescription(descr);
386387388389390391392393394395
droidsan.setName(fontFamilyName); FontDescription descr = new FontDescription(font); try { TrueTypeUtil.populateDescription(path, font, descr); } catch (Exception e) { throw new XRRuntimeException(e.getMessage(), e); } droidsan.addFontDescription(descr); result.put(fontFamilyName, droidsan); }
778779780781782783784785
_clip = new Area(s); else _clip.intersect(new Area(s)); followPath(s, CLIP); } else { throw new XRRuntimeException("Shape is null, unexpected"); } }
836837838839840841842843844
inverse.getMatrix(mx); try { _currentPage.addImage(image, (float) mx[0], (float) mx[1], (float) mx[2], (float) mx[3], (float) mx[4], (float) mx[5]); } catch (DocumentException e) { throw new XRRuntimeException(e.getMessage(), e); } } }
848849850851852853854855856857858
PdfReader reader = null; try { reader = getReader(uri); } catch (IOException e) { throw new XRRuntimeException("Could not load " + uri + ": " + e.getMessage(), e); } PdfImportedPage page = getWriter().getImportedPage(reader, 1); AffineTransform at = AffineTransform.getTranslateInstance(x, y);
203204205206207208209210211212213
FontDescription descr = new FontDescription(font); try { TrueTypeUtil.populateDescription(path, font, descr); } catch (Exception e) { throw new XRRuntimeException(e.getMessage(), e); } fontFamily.addFontDescription(descr); } } else if (lower.endsWith(".ttc")) {
261262263264265266267268269270271