• R/O
  • SSH
  • HTTPS

copper: Commit


Commit MetaInfo

Revision1575 (tree)
Time2018-10-26 11:44:41
Authormiyabe

Log Message

(empty log message)

Change Summary

  • delete: copper/trunk/homare/src/main/java/jp/cssj/homare/css/lang/JapaneseKeepAllHyphenation.java
  • delete: copper/trunk/homare/src/main/java/jp/cssj/homare/css/lang/CSSJHyphenation.java
  • delete: copper/trunk/homare/src/main/java/jp/cssj/homare/css/lang/BreakAllHyphenation.java

Incremental Difference

--- copper/trunk/homare/src/main/java/jp/cssj/homare/css/lang/JapaneseKeepAllHyphenation.java (revision 1574)
+++ copper/trunk/homare/src/main/java/jp/cssj/homare/css/lang/JapaneseKeepAllHyphenation.java (nonexistent)
@@ -1,14 +0,0 @@
1-package jp.cssj.homare.css.lang;
2-
3-import java.lang.Character.UnicodeBlock;
4-
5-import jp.cssj.sakae.gc.text.hyphenation.impl.JapaneseHyphenation;
6-
7-public class JapaneseKeepAllHyphenation extends JapaneseHyphenation {
8- public boolean atomic(char c1, char c2) {
9- if (this.isCJK(c1) && this.isCJK(c2) && UnicodeBlock.of(c1) != UnicodeBlock.CJK_SYMBOLS_AND_PUNCTUATION) {
10- return true;
11- }
12- return super.atomic(c1, c2);
13- }
14-}
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
--- copper/trunk/homare/src/main/java/jp/cssj/homare/css/lang/CSSJHyphenation.java (revision 1574)
+++ copper/trunk/homare/src/main/java/jp/cssj/homare/css/lang/CSSJHyphenation.java (nonexistent)
@@ -1,36 +0,0 @@
1-package jp.cssj.homare.css.lang;
2-
3-import jp.cssj.homare.css.value.ext.CSSJBreakRuleValue;
4-import jp.cssj.sakae.gc.text.hyphenation.impl.CharacterSet;
5-import jp.cssj.sakae.gc.text.hyphenation.impl.JapaneseHyphenation;
6-
7-public class CSSJHyphenation extends JapaneseHyphenation {
8- final private CSSJBreakRuleValue include;
9- final private CSSJBreakRuleValue exclude;
10-
11- public CSSJHyphenation(CSSJBreakRuleValue include, CSSJBreakRuleValue exclude) {
12- this.include = include;
13- this.exclude = exclude;
14- }
15-
16- protected CharacterSet requiresBefore(char c) {
17- if (this.include.getHead().indexOf(c) != -1) {
18- return CharacterSet.ALL;
19- }
20- if (this.exclude.getHead().indexOf(c) != -1) {
21- return CharacterSet.NOTHING;
22- }
23- return super.requiresBefore(c);
24- }
25-
26- protected CharacterSet requiresAfter(char c) {
27- if (this.include.getTail().indexOf(c) != -1) {
28- return CharacterSet.ALL;
29- }
30- if (this.exclude.getTail().indexOf(c) != -1) {
31- return CharacterSet.NOTHING;
32- }
33- return super.requiresAfter(c);
34- }
35-
36-}
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
--- copper/trunk/homare/src/main/java/jp/cssj/homare/css/lang/BreakAllHyphenation.java (revision 1574)
+++ copper/trunk/homare/src/main/java/jp/cssj/homare/css/lang/BreakAllHyphenation.java (nonexistent)
@@ -1,14 +0,0 @@
1-package jp.cssj.homare.css.lang;
2-
3-import jp.cssj.sakae.gc.text.hyphenation.Hyphenation;
4-
5-public class BreakAllHyphenation implements Hyphenation {
6- public boolean atomic(char c1, char c2) {
7- return false;
8- }
9-
10- public boolean canSeparate(char c1, char c2) {
11- return true;
12- }
13-
14-}
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Show on old repository browser