• R/O
  • SSH
  • HTTPS

tsukurimashou: Commit


Commit MetaInfo

Revision496 (tree)
Time2014-01-26 12:39:35
Authormskala

Log Message

improvements to hangul GSUB features spurred by HarfBuzz changes; IDSgrep testing

Change Summary

Incremental Difference

--- trunk/idsgrep/userpred.c (revision 495)
+++ trunk/idsgrep/userpred.c (revision 496)
@@ -152,7 +152,7 @@
152152 format2_table=malloc(length);
153153 format2_table->format=2;
154154 format2_table->length=length;
155- if (fread(((uint8_t *)&format2_table)+4,length-4,1,fontfile)!=1) {
155+ if (fread(((uint8_t *)format2_table)+4,length-4,1,fontfile)!=1) {
156156 fprintf(stderr,"error reading %s (format 2 cmap subtable %d)\n",
157157 fn,table_number);
158158 free(format2_table);
@@ -164,7 +164,7 @@
164164 for (i=2;i<(length/2);i++)
165165 ((uint16_t *)format2_table)[i]
166166 =BSWAP16(((uint16_t *)format2_table)[i]);
167-
167+
168168 /* scan through high bytes */
169169 for (i=0;i<256;i++)
170170 if (format2_table->sub_header_keys[i]!=0) {
@@ -204,7 +204,7 @@
204204 return;
205205 }
206206 }
207-
207+
208208 free(format2_table);
209209 }
210210
--- trunk/idsgrep/cook.c (revision 495)
+++ trunk/idsgrep/cook.c (revision 496)
@@ -115,7 +115,7 @@
115115 void wrap_write(char *cp,int len,FILE *f) {
116116 int i,j;
117117
118- if (output_recipe[OS_INDENTATION]!='9') {
118+ if ((!cook_output) || (output_recipe[OS_INDENTATION]!='9')) {
119119 fwrite(cp,1,len,f);
120120 return;
121121 }
--- trunk/doc/usermanual.tex (revision 495)
+++ trunk/doc/usermanual.tex (revision 496)
@@ -1029,7 +1029,7 @@
10291029 classes, in some renderers, the resulting DVI file is so invalid as to
10301030 cause the renderer to blank the rest of the page. Reported to Will
10311031 Robertson, package maintainer; he acknowledges it, and says will fix (by
1032- not requesting dot leader when they're not wanted) in next version. A
1032+ not requesting dot leaders when they're not wanted) in next version. A
10331033 workaround involving poking into the package internals to set a smaller
10341034 invalid spacing is implemented near the top of doc/bkstyle.tex.
10351035
@@ -1045,6 +1045,13 @@
10451045 is the latest release and widely used as of late 2011; it will probably
10461046 remain in the wild for a long time.
10471047
1048+ \item The ttx utility of TTX/FontTools will emit an empty Format 2 cmap
1049+ subtable (containing no code mappings at all) if given an XML file that
1050+ describes a Format 2 cmap subtable in which all the character codes are
1051+ single-byte codes. Workaround is to include at least one
1052+ double-byte code. Reported to their bug tracker
1053+ (\url{https://sourceforge.net/p/fonttools/bugs/53/}), January 2014.
1054+
10481055 \end{itemize}
10491056
10501057 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--- trunk/Makefile.am (revision 495)
+++ trunk/Makefile.am (revision 496)
@@ -215,7 +215,8 @@
215215
216216 EXTRA_DIST:=COPYING.GPL3 \
217217 README.en README.jp \
218- doc/demo.tex doc/proofs.tex doc/usermanual.tex doc/bkstyle.tex \
218+ doc/bkstyle.tex doc/demo.tex doc/jamotest.tex doc/proofs.tex \
219+ doc/usermanual.tex \
219220 $(wildcard $(mvp)/fsc/*.fsc) \
220221 t1asm/README t1asm/t1asm.1 \
221222 $(filter-out \
Show on old repository browser