Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
svg的tag加大小資訊 #33
Browse files Browse the repository at this point in the history
  • Loading branch information
sih4sing5hong5 committed Jul 13, 2016
1 parent be928e6 commit a75164c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/idsrend/services/IDSrendService.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
package idsrend.services;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
Expand Down Expand Up @@ -291,6 +292,7 @@ public IDSrendService(ExpSequenceLookup 查詢方式, IDSnormalizer 正規化工
// attributes
// Create an instance of the SVG Generator.
SVGGraphics2D svgGenerator = new SVGGraphics2D(document);
svgGenerator.setSVGCanvasSize(new Dimension(字型大細, 字型大細));
組字(組字式, svgGenerator);
OutputStreamWriter svgOutput = new java.io.OutputStreamWriter(輸出檔案,
"UTF-8");
Expand Down

0 comments on commit a75164c

Please sign in to comment.