forked from anathema/anathema_legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding first (alpha) draft of revised 2E printing
- Loading branch information
Showing
15 changed files
with
897 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 3 additions & 21 deletions
24
.../sf/anathema/character/reporting/sheet/page/AbstractSecondEditionExaltPdfPartEncoder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,15 @@ | ||
package net.sf.anathema.character.reporting.sheet.page; | ||
|
||
import net.sf.anathema.character.reporting.sheet.PdfEncodingRegistry; | ||
import net.sf.anathema.character.reporting.sheet.common.IPdfContentBoxEncoder; | ||
import net.sf.anathema.character.reporting.sheet.common.PdfEssenceEncoder; | ||
import net.sf.anathema.lib.resources.IResources; | ||
|
||
public abstract class AbstractSecondEditionExaltPdfPartEncoder extends AbstractSecondEditionPartEncoder { | ||
|
||
private final int essenceMax; | ||
|
||
public AbstractSecondEditionExaltPdfPartEncoder(IResources resources, PdfEncodingRegistry registry, int essenceMax) { | ||
super(resources, registry.getBaseFont(), registry.getSymbolBaseFont()); | ||
this.essenceMax = essenceMax; | ||
} | ||
|
||
public IPdfContentBoxEncoder getEssenceEncoder() { | ||
return new PdfEssenceEncoder(getBaseFont(), getResources(), essenceMax); | ||
} | ||
|
||
public boolean hasSecondPage() { | ||
return true; | ||
super(resources, registry.getBaseFont(), registry.getSymbolBaseFont(), essenceMax); | ||
} | ||
|
||
protected int getEssenceMax() | ||
{ | ||
return essenceMax; | ||
} | ||
|
||
protected int getFontSize() { | ||
return FONT_SIZE; | ||
public boolean hasMagicPage() { | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.