Master’s Thesis Presentation • Software Engineering — Analysis and Optimization of TrueType Font BytecodeExport this event to calendar

Monday, December 3, 2018 — 11:30 AM EST

Zeming Liu, Master’s candidate
David R. Cheriton School of Computer Science

TrueType font is a vectorized font which is used by almost all modern devices. TrueType font bytecode is a highly-dynamic stack-based bytecode language, which is hard to perform static analysis and optimizations on. It is executed by the font engines when rendering the font, to align the glyphs for specific screens and font sizes. The fonts used by webpages are always subset to include only the glyphs used by the webpages, to save the limited bandwidth and device’s memory. While current font manipulating techniques do not touch the bytecode, which makes the subset fonts contain un-optimized bytecode programs. Since accessing webpages using hand-held devices, such as smart phones, using 4G connection is more and more popular, it is the time to introduce TrueType bytecode analysis and optimization to font manipulation techniques. 

COI is the first attempt to manipulate TrueType bytecode, which enables the analysis and optimization of TrueType bytecode. This work improved the design of our the prototype abstract executor, introducing new features to COI. We also performed basic optimizations on COI and completed the cycle by translating the COI back to TrueType bytecode. 

Our latest abstract executor and COI can successfully translate TrueType font programs to COI more practically. Our experiments show that the optimization can reduce the size of bytecode and the optimized font yields the same bitmaps as the original font.

Location 
DC - William G. Davis Computer Research Centre
2314
200 University Avenue West

Waterloo, ON N2L 3G1
Canada

S M T W T F S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
  1. 2020 (1)
    1. January (1)
  2. 2019 (252)
    1. December (18)
    2. November (25)
    3. October (16)
    4. September (20)
    5. August (18)
    6. July (12)
    7. June (23)
    8. May (23)
    9. April (32)
    10. March (25)
    11. February (16)
    12. January (24)
  3. 2018 (220)
    1. December (16)
    2. November (19)
    3. October (26)
    4. September (22)
    5. August (17)
    6. July (20)
    7. June (13)
    8. May (25)
    9. April (34)
    10. March (24)
    11. February (3)
    12. January (1)
  4. 2017 (36)
  5. 2016 (21)
  6. 2015 (36)
  7. 2014 (33)
  8. 2013 (23)
  9. 2012 (4)
  10. 2011 (1)
  11. 2010 (1)
  12. 2009 (1)
  13. 2008 (1)