• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

harfbuzz / harfbuzz / 4256
79%

Build:
DEFAULT BRANCH: master
Ran 13 Sep 2018 06:36PM UTC
Jobs 1
Files 246
Run time 26s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4256

push

travis-ci

behdad
[dfont] Solve the mystery +2 offset thing!

Previously, ResourceForkHeader was defined as 30 bytes, having the typeCountM1 as last member.
There was a mysterious offset-by-2 in the code, derived from FontTools and JDK code this was
ported from.

In testing, I observed that typeListZ offset is actually 28.  Suggesting that the typeCountM1
does NOT actually belong to ResourceForkHeader, but belongs to the array itself.  Adjusting for
that resolves the mystery +2 offset hack, so everything is clean and good now.

This, concludes my dfont hacking.  The code looks great now, and I'm happy to leave it.
Fuzzers might disagree though, we will see!

6578 of 9733 relevant lines covered (67.58%)

2468.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4256.1 13 Sep 2018 06:36PM UTC 0
67.58
Travis Job 4256.1
Source Files on build 4256
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4256
  • 3789c557 on github
  • Prev Build on master (#4253)
  • Next Build on master (#4257)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc