AllenSky / sfntly

Automatically exported from code.google.com/p/sfntly
0 stars 0 forks source link

javadoc fails on LocaTable.java #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
c:\sfntly-r151\java>ant -f javadoc.xml
...
  [javadoc] Loading source files for package com.google.typography.font.sfntly.t
able.core...
  [javadoc] c:\sfntly-r151\java\src\com\goog
le\typography\font\sfntly\table\truetype\LocaTable.java:107: unmappable characte
r for encoding Cp1252
  [javadoc]    * @return the loca table value├?
  [javadoc]                                   ^
  [javadoc] c:\sfntly-r151\java\src\com\goog
le\typography\font\sfntly\table\truetype\LocaTable.java:389: unmappable characte
r for encoding Cp1252
  [javadoc]      * @return the loca table value├?
...
  [javadoc] 2 errors
...

java/build/javadoc folder is left empty.

LocaTable.java (obtained by exporting r151 with svn) has indeed stray 
characters at the end of lines 107 and 389 that prevents javadoc from running. 
These characters are also shown in Web source browsing as I acute. 
Removing those two characters lets javadoc run to completion.

Original issue reported on code.google.com by francois...@gmail.com on 21 Mar 2013 at 1:23

GoogleCodeExporter commented 9 years ago
Thanks. I see them. They don't cause a problem for me because I'm not using 
Cp1252 but instead using UTF-8. I've fixed them since they were spurious 
characters but you might want to consider using the -encoding flag on the 
javadoc tool.

Fixed with r156.

Original comment by stua...@google.com on 30 Mar 2013 at 12:58