• Home
  • History
  • Annotate
  • only in /external/sfntly/cpp/src/sfntly/
History log of /external/sfntly/cpp/src/sfntly/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
427f36e967318da60e86404a638bcecb10c97dbd 29-Oct-2016 Lei Zhang <leizleiz@users.noreply.github.com> Fix invalid cast found by Control Flow Integrity.

Instead of casting RefCounted objects to type NoAddRefRelease, make
AddRef() and Release() private methods that are only accessible to a
limited number of friends.
Fixes https://crbug.com/517959
ort/refcount.h
ebaa364dd0e270b6954331dc5ffb5fe4462de372 26-Oct-2016 Lei Zhang <leizleiz@users.noreply.github.com> Fix breakage from commit 083b02b1.

While the previous commit fixed NULL pointer deferences, it also
returned NULL pointers for some tables that needed to be set. As a
result, sfntly failed to generate correct output, as seen in
https://crbug.com/659006.
ont.cc
1bc53e167ca0bee0c89a938fe69e5bdb86b28d6b 19-Oct-2016 Lei Zhang <leizleiz@users.noreply.github.com> Fix undefined shifts in ReadableFontData::ReadShort.

Shifting a negative value is undefined behavior.
Fixes https://crbug.com/655914
ata/readable_font_data.cc
d651349cc7d61e667eadc186d5081a31a4339ee3 19-Oct-2016 Lei Zhang <leizleiz@users.noreply.github.com> Check for negative size in NameTable::NameAsBytes.

Fixes https://crbug.com/654663
able/core/name_table.cc
8475d2fd5f1ee4c734ea900c88283365a2f0dc87 19-Oct-2016 Lei Zhang <leizleiz@users.noreply.github.com> Avoid NULL derefs inside FontHeaderTable::Builder.

As a result IndexToLocFormat() should also return an invalid value.
Fixes https://crbug.com/646347
able/core/font_header_table.cc
able/core/font_header_table.h
able/table_based_table_builder.cc
1fba3b37c98301e2c01a5a3a7a87693ecdf4b4c8 19-Oct-2016 Lei Zhang <leizleiz@users.noreply.github.com> Fix undefined shifts in ReadableFontData::ReadLong.

Fixes https://crbug.com/646300
ata/readable_font_data.cc
ata/readable_font_data.h
083b02b10572142d9863d945a8cf52fed2df997d 19-Oct-2016 Lei Zhang <leizleiz@users.noreply.github.com> Fix NULL pointer derefs in sfntly::Font::Builder.

Fixes https://crbug.com/641452
ont.cc
1ef790afdd7818c1a3c76b18daacff14fdb983aa 08-Sep-2016 Lei Zhang <leizleiz@users.noreply.github.com> Add missing header from commit c9025ecc.
ata/readable_font_data.cc
4f1aa4907e2924d2bf4a3794b42e47c7a327c232 07-Sep-2016 Lei Zhang <leizleiz@users.noreply.github.com> Add ReadableFontData::kInvalidUnsigned.

Use in place of -1 where applicable.
ata/readable_font_data.cc
ata/readable_font_data.h
c9025eccdd389c91a7ff273976de794317c6928e 01-Sep-2016 Lei Zhang <leizleiz@users.noreply.github.com> Add more bounds checks in WritableFontData.

WritableFontData::Slice() needs to do more input validation.
Same for ReadableFontData::Slice().
Same for the equivalent Java code.
Fixes https://crbug.com/642300
ata/readable_font_data.cc
ata/writable_font_data.cc
dd230461d199c49d762185d0b02107505d216bee 01-Sep-2016 Lei Zhang <leizleiz@users.noreply.github.com> Return error values in ReadableFontData::Read*().

Change Read*Byte methods in ReadableFontData to return sentinel values
on error. Check the return values in other methods, and repeat the
process if they are also Read() methods.
Fixes https://crbug.com/641460
ata/readable_font_data.cc
ata/readable_font_data.h
813efeb18bf6205354b01a525352ebdb10eebe06 01-Sep-2016 Lei Zhang <leizleiz@users.noreply.github.com> Add a size limit for font tables.

Add a generous 200 MB limit for font tables.
Enforce the limit in Font::Builder::LoadTableData().
Clean up some nits along the way.
Fixes https://crbug.com/641446
ont.cc
ont.h
08652be8695a5e3732fa5c3d5d9c0a6d98b3b9e0 01-Sep-2016 Lei Zhang <leizleiz@users.noreply.github.com> Add a nullptr check to GlyphTable::Glyph().

Do not attempt to create a new Glyph if there is no data.
Fixes https://crbug.com/641330
able/truetype/glyph_table.cc
c56b85408bab232efd7e650f0994272a174e3b92 10-Jun-2016 Lei Zhang <leizleiz@users.noreply.github.com> Add a bounds check to ByteArray::Get().
ata/byte_array.cc
de776d4ef06ca29c240de3444348894f032b03ff 24-Sep-2015 Lei Zhang <leizleiz@users.noreply.github.com> Check for integer overflow in sfntly::FontData::Bound().

Also delete dead code and cleanup some nits.

This is cl/96914065.
ata/font_data.cc
ata/font_data.h
ort/logging.h
97207cee12e945fd45471488f555c76b17644dec 09-Jun-2014 arthurhsu <arthurhsu@google.com> Fix compiler warning

Clang warning:
'this' pointer cannot be null in well-defined C++ code; comparison may
be assumed to always evaluate to false [-Wtautological-undefined-compare]
able/bitmap/bitmap_glyph_info.cc
f139ed9dd98ad05c7e5cfd7228597fe13b608407 05-Nov-2013 arthurhsu <arthurhsu@google.com> Issue 19330043: fix QNX build
Patch by: efidler1@blackberry.com
ort/type.h
067243962cf9663a6e055dfb8b853c7f0b4319af 17-Oct-2013 stuartg <stuartg@google.com> ticket:38 Fix sfntly compilation on VS2013
ata/writable_font_data.cc
ort/file_input_stream.cc
ort/memory_input_stream.cc
able/core/os2_table.cc
527079d528241244db13664597d53e445913ced5 09-Jul-2012 arthurhsu <arthurhsu@google.com> Gracefully fail when TTF name table contains a zero-length name.

Backport from b/6733065.
able/core/name_table.cc
3835848ea07870392854d8ae9dacda1c662ee5f1 29-Jun-2012 arthurhsu <arthurhsu@google.com> Land Nico's warning fix.
able/core/cmap_table.cc
able/core/cmap_table.h
able/core/name_table.h
able/truetype/glyph_table.h
13983b105dfe67061fceaca2dce7f02b9d6ef6c9 28-Feb-2012 arthurhsu <arthurhsu@google.com> Work around Apple MacOS X Lion AppleMyungjo font bug.
able/bitmap/index_sub_table_format1.cc
able/bitmap/index_sub_table_format2.cc
able/bitmap/index_sub_table_format3.cc
able/bitmap/index_sub_table_format4.cc
able/bitmap/index_sub_table_format5.cc
51d168dd4af138584ce64dbabaaac2f29ce451fe 05-Jan-2012 arthurhsu <arthurhsu@google.com> Coverity fix: uninitialized scalar member.
able/bitmap/index_sub_table.cc
0d66259a9ad17d5057130faaee616eda8ce3d0de 12-Dec-2011 arthurhsu <arthurhsu@google.com> Move Chromium subsetter code to sample, update CMakeLists accordingly.
Remove unused const in font.h.
ont.h
9d49ee2650b0ffd660ff22f93ca9a6831847446f 09-Dec-2011 arthurhsu <arthurhsu@google.com> Patch from Nico Weber: remove static initializers.
This is needed because gcc 4.4.3 can't evaluate simple static functions
at compile time.
ont.cc
ag.cc
cea86b40cf99b68378e891c7d208306dcc18b64f 30-Nov-2011 arthurhsu <arthurhsu@google.com> Fix clang compilation errors in Chromium.
able/core/name_table.h
404d0f3df2479c5cdcd038992352781b9e141425 29-Nov-2011 arthurhsu <arthurhsu@google.com> Graduate EBXX from experimental
able/table.cc
b88e135e5b809f50f37d68dc86b80b390b64873e 29-Nov-2011 arthurhsu <arthurhsu@google.com> Update per code review comments from previous check-in
able/bitmap/big_glyph_metrics.cc
able/bitmap/big_glyph_metrics.h
e1ffb13d7a48f8071fa2adc07586de8b542a8d04 28-Nov-2011 arthurhsu <arthurhsu@google.com> Finish bitmap subsetting support
ata/writable_font_data.h
able/bitmap/big_glyph_metrics.cc
able/bitmap/big_glyph_metrics.h
able/bitmap/bitmap_size_table.cc
able/bitmap/bitmap_size_table.h
able/bitmap/ebdt_table.h
able/bitmap/eblc_table.cc
able/bitmap/eblc_table.h
able/bitmap/index_sub_table.cc
able/bitmap/index_sub_table.h
able/bitmap/index_sub_table_format1.cc
able/bitmap/index_sub_table_format1.h
able/bitmap/index_sub_table_format2.cc
able/bitmap/index_sub_table_format2.h
able/bitmap/index_sub_table_format3.cc
able/bitmap/index_sub_table_format3.h
able/bitmap/index_sub_table_format4.cc
able/bitmap/index_sub_table_format4.h
able/bitmap/index_sub_table_format5.cc
able/bitmap/index_sub_table_format5.h
able/font_data_table.cc
able/font_data_table.h
able/subtable.cc
able/subtable.h
b127bff423b200da3cfe3b06551cd5e9a895dd30 16-Nov-2011 arthurhsu <arthurhsu@google.com> Fix bug in HDMX table (from stuartg's code review)
able/core/horizontal_device_metrics_table.cc
9e5bf57583793d6db93bb01fd982760ad110a50f 15-Nov-2011 arthurhsu <arthurhsu@google.com> Update to Java initial release (except bitmap tables)
TBR(stuartg)
ont.cc
able/core/horizontal_device_metrics_table.cc
able/core/horizontal_device_metrics_table.h
able/table.cc
a685c9c3b66db93162f2a07d196dbd00513a84b5 21-Oct-2011 arthurhsu <arthurhsu@google.com> Update to 10-17-11 snapshot
ata/readable_font_data.cc
ata/writable_font_data.cc
able/bitmap/bitmap_size_table.cc
able/bitmap/bitmap_size_table.h
able/bitmap/ebdt_table.cc
able/bitmap/index_sub_table.cc
able/bitmap/index_sub_table.h
d3860a0a205f83e1f37e7f24988c105225c0b903 20-Oct-2011 arthurhsu <arthurhsu@google.com> Fix issue 3: no new line at end of file
able/subtable_container_table.h
526b1cbc315cb6aafa4462d45289238937e54fea 18-Oct-2011 arthurhsu <arthurhsu@google.com> Update to 10-12-11 snapshot
Created new chrome_subsetter program to test font subsetter used in Chromium
Fix several porting bugs in previous CL
able/bitmap/bitmap_size_table.cc
able/bitmap/ebdt_table.cc
able/bitmap/ebdt_table.h
able/bitmap/eblc_table.cc
able/bitmap/eblc_table.h
able/bitmap/ebsc_table.h
able/bitmap/index_sub_table_format1.cc
able/bitmap/index_sub_table_format1.h
able/bitmap/index_sub_table_format2.cc
able/bitmap/index_sub_table_format2.h
able/bitmap/index_sub_table_format3.cc
able/bitmap/index_sub_table_format3.h
able/bitmap/index_sub_table_format4.cc
able/bitmap/index_sub_table_format4.h
able/bitmap/index_sub_table_format5.cc
able/bitmap/index_sub_table_format5.h
able/subtable.h
able/truetype/glyph_table.cc
able/truetype/glyph_table.h
ag.h
158cdcb9cf09418ba8b49f4be7be69e37aa8e9fa 11-Oct-2011 arthurhsu <arthurhsu@google.com> Update to Sep 30 snapshot, include all current EBXX support.
Refine Iterator ports: all java-style Iterator objects are ref-counted and have automatic memory management now.
ata/byte_array.cc
ata/font_data.cc
ata/font_data.h
ata/readable_font_data.cc
ata/readable_font_data.h
ata/writable_font_data.cc
ata/writable_font_data.h
ont.cc
ath/font_math.h
ort/java_iterator.h
able/bitmap/big_glyph_metrics.cc
able/bitmap/big_glyph_metrics.h
able/bitmap/bitmap_glyph.cc
able/bitmap/bitmap_glyph.h
able/bitmap/bitmap_glyph_info.cc
able/bitmap/bitmap_glyph_info.h
able/bitmap/bitmap_size_table.cc
able/bitmap/bitmap_size_table.h
able/bitmap/composite_bitmap_glyph.cc
able/bitmap/composite_bitmap_glyph.h
able/bitmap/ebdt_table.cc
able/bitmap/ebdt_table.h
able/bitmap/eblc_table.cc
able/bitmap/eblc_table.h
able/bitmap/ebsc_table.cc
able/bitmap/ebsc_table.h
able/bitmap/glyph_metrics.cc
able/bitmap/glyph_metrics.h
able/bitmap/index_sub_table.cc
able/bitmap/index_sub_table.h
able/bitmap/index_sub_table_format1.cc
able/bitmap/index_sub_table_format1.h
able/bitmap/index_sub_table_format2.cc
able/bitmap/index_sub_table_format2.h
able/bitmap/index_sub_table_format3.cc
able/bitmap/index_sub_table_format3.h
able/bitmap/index_sub_table_format4.cc
able/bitmap/index_sub_table_format4.h
able/bitmap/index_sub_table_format5.cc
able/bitmap/index_sub_table_format5.h
able/bitmap/simple_bitmap_glyph.cc
able/bitmap/simple_bitmap_glyph.h
able/bitmap/small_glyph_metrics.cc
able/bitmap/small_glyph_metrics.h
able/byte_array_table_builder.cc
able/byte_array_table_builder.h
able/core/name_table.cc
able/core/name_table.h
able/font_data_table.cc
able/generic_table_builder.cc
able/generic_table_builder.h
able/header.h
able/subtable.cc
able/subtable.h
able/table.cc
able/table_based_table_builder.cc
able/table_based_table_builder.h
able/truetype/glyph_table.cc
able/truetype/glyph_table.h
able/truetype/loca_table.cc
able/truetype/loca_table.h
b4e699e152543000a5825791e1c26826924a256f 26-Sep-2011 arthurhsu <arthurhsu@google.com> Temporary disable CMap and Bitmap processing by default.
able/table.cc
529b91d37af56176354f05229a86bfa87ff1fb00 20-Sep-2011 arthurhsu <arthurhsu@google.com> Add atomicity to whereever needed.
ata/readable_font_data.cc
ata/readable_font_data.h
able/bitmap/bitmap_size_table.cc
able/bitmap/bitmap_size_table.h
able/bitmap/eblc_table.cc
able/bitmap/eblc_table.h
2647114e449b737ecc6f8bf38bd2b9dc711703b7 18-Sep-2011 dfilimon <dfilimon@google.com> Fixing Windows build, round 2.
able/core/cmap_table.cc
ef99dd2c2b64947120bbdb7c1bd552c4b6900521 18-Sep-2011 dfilimon <dfilimon@google.com> Fixing compile errors on Windows.
able/core/cmap_table.cc
8864c216cd32f069dccc16b66376003597a790fb 18-Sep-2011 dfilimon <dfilimon@google.com> Adding support for CMapFormat4.
able/core/cmap_table.cc
able/core/cmap_table.h
ec197e77aa0db79724879dbd12d7c142e478e6e0 16-Sep-2011 dfilimon <dfilimon@google.com> Typo in last commit.
able/core/cmap_table.h
471934e8b98d79462ae4a83c387d63c1f2daf349 16-Sep-2011 dfilimon <dfilimon@google.com> Assignment operator fix for IdFilter.
able/core/cmap_table.h
2810813802011dba843b512327607ed78b6475f7 16-Sep-2011 dfilimon <dfilimon@google.com> Minor cleanup.
able/core/cmap_table.cc
able/core/cmap_table.h
able/table.cc
b335ae6c58ba940d6ee66cd646bafaae1be0fa93 15-Sep-2011 dfilimon <dfilimon@google.com> Added port/type.h before other headers to fix the Visual Studio redefintion issue.
able/core/cmap_table.cc
able/core/cmap_table.h
78754a7dd11ccbe5f8c7550be25761aa235d5b02 15-Sep-2011 dfilimon <dfilimon@google.com> Added private operator= for CMapIdFilter to get the code to compile with Visual Studio.
able/core/cmap_table.h
ed970d282fdc9b3e2582c10babfd6d9caa5d7984 15-Sep-2011 dfilimon <dfilimon@google.com> Added fix for operator= generation failure for CMapIdFilter on Windows.
able/core/cmap_table.cc
39455fac3d7a2e7a3ea8fc624f10ec8521ce892e 15-Sep-2011 dfilimon <dfilimon@google.com> Added UNREFERENCED_PARAMATER fix for CMapFormat2 iterator.
able/core/cmap_table.h
48679d7e6df083d0f964300e3c9e2997df5a3f31 15-Sep-2011 dfilimon <dfilimon@google.com> Adding CMapTable support for Format0.
able/core/cmap_table.cc
able/core/cmap_table.h
able/table.cc
309eb234315620dcfbb88fa46a4cb0e2a8ab677d 12-Sep-2011 arthurhsu <arthurhsu@google.com> Add mutex
ort/lock.cc
ort/lock.h
ort/type.h
28258feb374913d40c347932937500210ba23d7c 08-Sep-2011 arthurhsu <arthurhsu@google.com> Advance C++ port to Sep 1 11 snapshot
Update test font to use OFL-compliant fonts
ata/readable_font_data.cc
ata/readable_font_data.h
ata/writable_font_data.cc
ata/writable_font_data.h
ont.cc
ont.h
able/bitmap/bitmap_glyph.cc
able/bitmap/bitmap_glyph.h
able/bitmap/bitmap_size_table.cc
able/bitmap/bitmap_size_table.h
able/bitmap/composite_bitmap_glyph.cc
able/bitmap/composite_bitmap_glyph.h
able/bitmap/ebdt_table.cc
able/bitmap/ebdt_table.h
able/bitmap/eblc_table.cc
able/bitmap/eblc_table.h
able/bitmap/index_sub_table.cc
able/bitmap/index_sub_table.h
able/bitmap/index_sub_table_format1.cc
able/bitmap/index_sub_table_format1.h
able/bitmap/index_sub_table_format2.cc
able/bitmap/index_sub_table_format2.h
able/bitmap/index_sub_table_format3.cc
able/bitmap/index_sub_table_format3.h
able/bitmap/index_sub_table_format4.cc
able/bitmap/index_sub_table_format4.h
able/bitmap/index_sub_table_format5.cc
able/bitmap/index_sub_table_format5.h
able/bitmap/simple_bitmap_glyph.cc
able/bitmap/simple_bitmap_glyph.h
able/core/font_header_table.cc
able/core/font_header_table.h
able/core/horizontal_header_table.cc
able/core/horizontal_header_table.h
able/core/horizontal_metrics_table.cc
able/core/horizontal_metrics_table.h
able/core/maximum_profile_table.cc
able/core/maximum_profile_table.h
able/core/os2_table.cc
able/core/os2_table.h
able/font_data_table.cc
able/header.cc
able/header.h
able/table.cc
able/table.h
able/table_based_table_builder.cc
able/table_based_table_builder.h
ag.cc
ag.h
6a2a8e7db878d1115d600c3be02e2700d8b372bc 01-Sep-2011 arthurhsu <arthurhsu@google.com> Advance C++ port to Aug 11 Java snapshot
ont.cc
ont.h
ont_data_table_builder_container.h
ont_factory.cc
ont_factory.h
ort/config.h
ort/file_input_stream.cc
ort/memory_input_stream.cc
ort/memory_input_stream.h
able/core/cmap_table.cc
able/core/cmap_table.h
able/core/font_header_table.cc
able/core/font_header_table.h
able/core/horizontal_header_table.cc
able/core/horizontal_header_table.h
able/core/horizontal_metrics_table.cc
able/core/horizontal_metrics_table.h
able/core/maximum_profile_table.cc
able/core/maximum_profile_table.h
able/core/name_table.cc
able/core/name_table.h
able/core/os2_table.cc
able/core/os2_table.h
able/font_data_table.cc
able/font_data_table.h
able/subtable.cc
able/subtable.h
able/subtable_container_table.h
able/table.cc
able/table.h
able/truetype/glyph_table.cc
able/truetype/glyph_table.h
able/truetype/loca_table.cc
able/truetype/loca_table.h
ools/subsetter/glyph_table_subsetter.cc
ools/subsetter/subsetter.cc
f48f9495bfb5297171b933641a0a489cb86ad39b 29-Aug-2011 dfilimon <dfilimon@google.com> Modified NewTableBuilder so it would no longer require CALLER_ATTACH.
ont.cc
ont.h
ools/subsetter/glyph_table_subsetter.cc
ools/subsetter/subsetter.cc
584bf6606b53bda8bf0810e7c0ad57e24cacb4f1 23-Aug-2011 arthurhsu <arthurhsu@google.com> Reorg folder structure to aligned with latest Java version.
Change header guards.
Updated font_data_test.cc so that VC compilation is not broken.
Updated CMakeLists.txt so that files are grouped in folders in VC.
map_table.cc
map_table.h
ata/byte_array.h
ata/font_data.h
ata/font_input_stream.h
ata/font_output_stream.h
ata/growable_memory_byte_array.h
ata/memory_byte_array.h
ata/readable_font_data.h
ata/writable_font_data.h
ont.cc
ont.h
ont_data_table.cc
ont_data_table.h
ont_data_table_builder_container.h
ont_factory.h
ont_header_table.cc
ont_header_table.h
lyph_table.cc
lyph_table.h
orizontal_header_table.cc
orizontal_header_table.h
orizontal_metrics_table.cc
orizontal_metrics_table.h
oca_table.cc
oca_table.h
ath/fixed1616.h
ath/font_math.h
aximum_profile_table.cc
aximum_profile_table.h
ame_table.cc
ame_table.h
s2_table.cc
s2_table.h
ort/atomic.h
ort/config.h
ort/endian.h
ort/exception_type.h
ort/file_input_stream.h
ort/input_stream.h
ort/memory_output_stream.h
ort/output_stream.h
ort/refcount.h
ort/type.h
ubtable.cc
ubtable.h
able.cc
able.h
able/core/cmap_table.cc
able/core/cmap_table.h
able/core/font_header_table.cc
able/core/font_header_table.h
able/core/horizontal_header_table.cc
able/core/horizontal_header_table.h
able/core/horizontal_metrics_table.cc
able/core/horizontal_metrics_table.h
able/core/maximum_profile_table.cc
able/core/maximum_profile_table.h
able/core/name_table.cc
able/core/name_table.h
able/core/os2_table.cc
able/core/os2_table.h
able/font_data_table.cc
able/font_data_table.h
able/subtable.cc
able/subtable.h
able/table.cc
able/table.h
able/truetype/glyph_table.cc
able/truetype/glyph_table.h
able/truetype/loca_table.cc
able/truetype/loca_table.h
ag.h
ools/subsetter.cc
ools/subsetter/glyph_table_subsetter.cc
ools/subsetter/glyph_table_subsetter.h
ools/subsetter/subsetter.cc
ools/subsetter/subsetter.h
ools/subsetter/table_subsetter.h
ools/subsetter/table_subsetter_impl.h
ffaf4ea5bee9002ea0718c012bc7e4fe8cb8e70d 23-Aug-2011 dfilimon <dfilimon@google.com> Added SearchUShort and SearchULong.
ata/readable_font_data.cc
ata/readable_font_data.h
44f54413ba1ae3c68594592c7b7926fca76766ad 23-Aug-2011 dfilimon <dfilimon@google.com> Fixed bug where all glyphs would be set to composite.
lyph_table.cc
53e7e87e47c9d9ce7579e53583904ce4921daead 20-Aug-2011 arthurhsu <arthurhsu@google.com> Port files under /data to Aug 11 version.
ReadableFontData.Search*() not ported since they're already in another CL under review.
ata/byte_array.cc
ata/byte_array.h
ata/font_data.cc
ata/font_data.h
ata/font_input_stream.cc
ata/font_input_stream.h
ata/font_output_stream.cc
ata/font_output_stream.h
ata/growable_memory_byte_array.cc
ata/growable_memory_byte_array.h
ata/memory_byte_array.cc
ata/memory_byte_array.h
ata/readable_font_data.cc
ata/readable_font_data.h
ata/writable_font_data.cc
ata/writable_font_data.h
lyph_table.cc
ame_table.cc
s2_table.cc
ort/exception_type.h
ort/memory_output_stream.cc
ort/memory_output_stream.h
ort/output_stream.h
ag.h
87114756046ef50158ad5bbf357bf40e05ebdd94 17-Aug-2011 arthurhsu <arthurhsu@google.com> Bug fix: when table is located at the end of file, original code will determine the wrong size and refuse to read it.

Also reverted changes in r48 due to its test nature.
ata/readable_font_data.cc
ata/writable_font_data.cc
ata/writable_font_data.h
ont.cc
d0142d699593f77075d7a5500d86a4630f9049e4 12-Aug-2011 arthurhsu <arthurhsu@google.com> More thorough unit tests.
orizontal_metrics_table.cc
orizontal_metrics_table.h
ame_table.cc
ame_table.h
s2_table.cc
s2_table.h
61d9c6dc12ef9c15ae12a244c18dd69a14d7886a 12-Aug-2011 dfilimon <dfilimon@google.com> Added CreateWritableFontData factory methods to WritableFontData.
ata/writable_font_data.cc
ata/writable_font_data.h
2ac95dcf52d76634fba3f8fa81c575424f01d992 10-Aug-2011 arthurhsu <arthurhsu@google.com> Fortify font build against error cases.
ont.cc
ont_data_table.cc
9c9123fa12a058f9da8603ccc64bb06e8e71c53a 09-Aug-2011 arthurhsu <arthurhsu@google.com> Fix VC compilation warnings.
ag.h
defcfc3778c0471622b27f563f702115c13b8dc3 08-Aug-2011 arthurhsu <arthurhsu@google.com> Reorg test structure, fix memory leaks.
ame_table.cc
c296964ca1570b4773dda0156f5a23eeec5be4a7 05-Aug-2011 dfilimon <dfilimon@google.com> Added generate_name from tag. Useful for debugging and used in future tests.
ag.h
d486247a08ea819f569f2a8032394feaae87526e 05-Aug-2011 dfilimon <dfilimon@google.com> Small style fix.
ont_data_table.h
able.cc
b9a4456e0f6c636bf96b3bd7b65b0982fe903068 02-Aug-2011 arthurhsu <arthurhsu@google.com> Fix loca bug caused by typo.
oca_table.cc
722822ffe2920995f5804044224315a945bc9b5c 02-Aug-2011 dfilimon <dfilimon@google.com> Fixed fix. Didn't have SVN repo updated before committing.
ont_factory.cc
774c9285aa33f0e80ac9b72e9a391ec7c195e767 02-Aug-2011 dfilimon <dfilimon@google.com> Fixes memory leak in font_factory.
ont_factory.cc
3eca5f26ef52cfef7d814f35fd52deb4c097531a 02-Aug-2011 arthurhsu <arthurhsu@google.com> Original change by dfilimon
Redo since the readability CL invalidated it.
Fix bad usage of STL map that created NULL pointers in table builder map.
ont.cc
2f57786796743446495a41f1a1f8688b13fa1a86 01-Aug-2011 arthurhsu <arthurhsu@google.com> Fix possible NULL pointer dereferencing.
ont.cc
c143ecb4bbc4f3ccca5145dc2b17cc20ca738efe 01-Aug-2011 arthurhsu <arthurhsu@google.com> Readability clean up. The code conforms to Google C++ Coding Style.
map_table.cc
map_table.h
ata/byte_array.cc
ata/byte_array.h
ata/font_data.cc
ata/font_data.h
ata/font_input_stream.cc
ata/font_input_stream.h
ata/font_output_stream.cc
ata/font_output_stream.h
ata/growable_memory_byte_array.cc
ata/growable_memory_byte_array.h
ata/memory_byte_array.cc
ata/memory_byte_array.h
ata/readable_font_data.cc
ata/readable_font_data.h
ata/writable_font_data.cc
ata/writable_font_data.h
ont.cc
ont.h
ont_data_table.cc
ont_data_table.h
ont_data_table_builder_container.h
ont_factory.cc
ont_factory.h
ont_header_table.cc
ont_header_table.h
lyph_table.cc
lyph_table.h
orizontal_header_table.cc
orizontal_header_table.h
orizontal_metrics_table.cc
orizontal_metrics_table.h
oca_table.cc
oca_table.h
ath/fixed1616.h
ath/font_math.h
aximum_profile_table.cc
aximum_profile_table.h
ame_table.cc
ame_table.h
s2_table.cc
s2_table.h
ort/atomic.h
ort/endian.h
ort/file_input_stream.cc
ort/file_input_stream.h
ort/input_stream.h
ort/memory_output_stream.cc
ort/memory_output_stream.h
ort/output_stream.h
ort/refcount.h
ubtable.cc
ubtable.h
able.cc
able.h
ag.cc
ag.h
ools/subsetter.cc
ools/subsetter/glyph_table_subsetter.cc
ools/subsetter/glyph_table_subsetter.h
ools/subsetter/subsetter.h
ools/subsetter/table_subsetter.h
ools/subsetter/table_subsetter_impl.cc
ools/subsetter/table_subsetter_impl.h
2cc640e879459497a8974015a569ec5645ea9bdd 30-Jul-2011 dfilimon <dfilimon@google.com> Quick fix for compile on Windows.
ame_table.cc
2f7e98d7bfe71b69a3c0a7f7d0383f792278e72d 27-Jul-2011 arthurhsu <arthurhsu@google.com> Fix compilation warnings when used by Chrome.
Make sure the warn unused return is not disabled.
ort/file_input_stream.cc
c93f5d44001a9f7b43981b7e488eabb85ff6c253 26-Jul-2011 arthurhsu <arthurhsu@google.com> Removing changes from revision 26
ont.cc
fdfaf586f9b3a7f948c9951204f246959efd9cf4 26-Jul-2011 dfilimon <dfilimon@google.com> Fixed a memory leak in font.cc:520 caused by not attaching to a pointer
returned by getNewArray that would not ever get deleted.

Also fixed the cmap builder map bug.
ont.cc
d3384178942afa12bcae41095e0199b79d25e08b 26-Jul-2011 arthurhsu <arthurhsu@google.com> Fix crash issue when users specify /GR- in VC's compilation flag.
ort/type.h
fb8de4ba03f06a06bd8ae8f0f45d0244e496c269 22-Jul-2011 arthurhsu <arthurhsu@google.com> Update for clang to successfully build sfntly.
ort/atomic.h
ort/refcount.h
9ff77ab7a0ad76b0b4a13bf5e3ecee0f7f270e46 21-Jul-2011 arthurhsu <arthurhsu@google.com> CMap porting and unit tests (partial)
Author: Dan-george Filimon (dfilimon@google.com)
Checked in by arthur@google.com since Dan hasn't got committer status yet.
map_table.cc
map_table.h
ca096dca85ea4ddde54367467eda6aa807f70105 15-Jul-2011 arthurhsu <arthurhsu@google.com> Porting name table implementation, also the corresponding test cases.
ame_table.cc
ame_table.h
able.cc
74dd654d997383188b37566661cbce34a8b82154 13-Jul-2011 arthurhsu <arthurhsu@google.com> Add more unit tests and fix I/O bugs.
Add a public domain font and restructure tests.
Change cmake to default output debug builds.
Fix VC 2008 compilation issues.
ata/byte_array.cc
ata/font_input_stream.cc
ata/font_output_stream.cc
ont.cc
ort/memory_output_stream.h
ort/type.h
ag.h
3e645c2a657691a50763a182495501511988880c 11-Jul-2011 arthurhsu <arthurhsu@google.com> Fix bugs and add unit tests to FileInputStream class.
Add the class to Linux/Mac builds.
ort/file_input_stream.cc
007bac39b5a613b17384f72d96457ab91638bab6 09-Jul-2011 arthurhsu <arthurhsu@google.com> Update static const ints to enums so that these enums can be used in
switch-case. There are two exceptions:
1. if original Java code uses static const int, we keep it that way.
2. C++ compilers may not support 64-bit enum so we need to define them as static
const uint64_t
map_table.cc
map_table.h
ata/font_data.cc
ata/font_data.h
ont.cc
ont.h
ont_factory.cc
ont_factory.h
ont_header_table.cc
ont_header_table.h
lyph_table.cc
lyph_table.h
orizontal_header_table.cc
orizontal_header_table.h
orizontal_metrics_table.cc
orizontal_metrics_table.h
aximum_profile_table.cc
aximum_profile_table.h
ame_table.cc
ame_table.h
s2_table.cc
s2_table.h
fa606d4385cc0cc97f319dc25c97f46b2d44f1b9 27-Jun-2011 arthurhsu <arthurhsu@google.com> Added a preprocessor flag SFNTLY_NO_EXCEPTION to disable exception handling. Fixed the code to make GCC -Wall -Werror flags happy.
map_table.cc
ata/byte_array.cc
ata/font_input_stream.cc
ata/font_output_stream.cc
ata/memory_byte_array.cc
ata/readable_font_data.cc
ont.cc
lyph_table.cc
orizontal_metrics_table.cc
oca_table.cc
ame_table.cc
ort/exception_type.h
ort/file_input_stream.cc
ort/type.h
able.cc
ools/subsetter/glyph_table_subsetter.cc
95efcd4ba41e367b466b7206a942605bbbbb2c90 23-Jun-2011 arthurhsu <arthurhsu@google.com> Initial release
map_table.cc
map_table.h
ata/byte_array.cc
ata/byte_array.h
ata/font_data.cc
ata/font_data.h
ata/font_input_stream.cc
ata/font_input_stream.h
ata/font_output_stream.cc
ata/font_output_stream.h
ata/growable_memory_byte_array.cc
ata/growable_memory_byte_array.h
ata/memory_byte_array.cc
ata/memory_byte_array.h
ata/readable_font_data.cc
ata/readable_font_data.h
ata/writable_font_data.cc
ata/writable_font_data.h
ont.cc
ont.h
ont_data_table.cc
ont_data_table.h
ont_data_table_builder_container.h
ont_factory.cc
ont_factory.h
ont_header_table.cc
ont_header_table.h
lyph_table.cc
lyph_table.h
orizontal_header_table.cc
orizontal_header_table.h
orizontal_metrics_table.cc
orizontal_metrics_table.h
oca_table.cc
oca_table.h
ath/fixed1616.h
ath/font_math.h
aximum_profile_table.cc
aximum_profile_table.h
ame_table.cc
ame_table.h
s2_table.cc
s2_table.h
ort/atomic.h
ort/config.h
ort/endian.h
ort/exception_type.h
ort/file_input_stream.cc
ort/file_input_stream.h
ort/input_stream.h
ort/memory_output_stream.cc
ort/memory_output_stream.h
ort/output_stream.h
ort/refcount.h
ort/type.h
ubtable.cc
ubtable.h
able.cc
able.h
ag.cc
ag.h
ools/subsetter.cc
ools/subsetter/glyph_table_subsetter.cc
ools/subsetter/glyph_table_subsetter.h
ools/subsetter/subsetter.h
ools/subsetter/table_subsetter.h
ools/subsetter/table_subsetter_impl.cc
ools/subsetter/table_subsetter_impl.h