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

使對照表無需與字體集等長 #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Artoria2e5
Copy link
Collaborator

No description provided.

@@ -90,7 +84,7 @@ protected FontCorrespondTable(MergedFont 字體, ArrayList<HashMap<Integer, Inte
* 統一碼佮逐个字體內部編碼對照表。若無需要,彼格傳<code>null</code>
*/
public FontCorrespondTable(String[] 字體位置, ArrayList<HashMap<Integer, Integer>> 對照表集)
{

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!!!1 不好了

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

@sih4sing5hong5
Copy link
Owner

這樣做的話,會限制有對照表的字體一定要先排前面

當初是因為都是用自造字,所以有這個問題

話說這個功能如果別的字體用不到,是可以直接這樣改

@Artoria2e5
Copy link
Collaborator Author

Artoria2e5 commented Apr 24, 2018

這樣做的話,會限制有對照表的字體一定要先排前面

不會啦。假設字體集是 a, b, c, d, e,其中 c 有表,我讓對照表是 null, null, c表 就可以。


}
if (字體集[i].candisplay(取對照表字碼(i, 控制碼))
return true;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

travis ci


10.10s$ gradle assemble
Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m
:compileJava/home/travis/build/sih4sing5hong5/han3_ji7_tsoo1_kian3/src/main/java/cc/char_indexingtool/FontCorrespondTable.java:126: error: ')' expected
				if (字體集[i].candisplay(取對照表字碼(i, 控制碼))
				                                     ^
1 error
 FAILED

@Artoria2e5
Copy link
Collaborator Author

少了 )… 人老了(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants