• R/O
  • SSH
  • HTTPS

copper: Commit


Commit MetaInfo

Revision1588 (tree)
Time2019-08-21 12:41:43
Authormiyabe

Log Message

(empty log message)

Change Summary

Incremental Difference

--- copper/trunk/sakae/sakae-pdf/src/main/java/jp/cssj/sakae/pdf/font/cid/CIDUtils.java (revision 1587)
+++ copper/trunk/sakae/sakae-pdf/src/main/java/jp/cssj/sakae/pdf/font/cid/CIDUtils.java (revision 1588)
@@ -610,7 +610,9 @@
610610 out.writeName("CIDFontType0C");
611611 out.lineBreak();
612612
613- try (OutputStream cout = out.startStreamFromHash(PdfFragmentOutput.STREAM_BINARY)) {
613+ try (OutputStream cout = out.startStreamFromHash(PdfFragmentOutput.STREAM_BINARY)) {
614+// InputStream in = new InflaterInputStream(new FileInputStream("/home/miyabe/workspaces/copper/CopperPDF.dev/files/misc/fontfile.bin"));
615+// IOUtils.copy(in, cout);
614616 CffGenerator cff = new CffGenerator();
615617 cff.setSubsetName(subsetName);
616618 cff.setEmbedableFont(font);
--- copper/trunk/sakae/sakae-pdf/src/main/java/jp/cssj/sakae/pdf/font/type2/CffGenerator.java (revision 1587)
+++ copper/trunk/sakae/sakae-pdf/src/main/java/jp/cssj/sakae/pdf/font/type2/CffGenerator.java (revision 1588)
@@ -96,8 +96,8 @@
9696 padding1 += 5 - cout2.writeInteger(offset + cout1.getOffset());
9797 cout2.writeOperator(CffOutputStream.CHARSETS);
9898
99- cout1.writeCard8((byte) 2);
100- cout1.writeCard16(1);
99+ cout1.writeCard8((byte) 2); // format=2
100+ cout1.writeCard16(1);
101101 cout1.writeCard16(this.font.getCharCount() - 1);
102102
103103 // CharStrings INDEX
--- copper/trunk/sakae/sakae-pdf/src/main/java/jp/cssj/sakae/svg/GVTBuilderImpl.java (revision 1587)
+++ copper/trunk/sakae/sakae-pdf/src/main/java/jp/cssj/sakae/svg/GVTBuilderImpl.java (revision 1588)
@@ -11,15 +11,15 @@
1111
1212 public class GVTBuilderImpl extends GVTBuilder {
1313 private final boolean forceVector;
14-
14+
1515 public GVTBuilderImpl(boolean forceVector) {
1616 this.forceVector = forceVector;
1717 }
18-
18+
1919 public GVTBuilderImpl() {
2020 this(false);
2121 }
22-
22+
2323 /**
2424 * 透明化処理のためにCompositeのビルドメソッドをオーバーライドします。
2525 */
Show on old repository browser