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

harfbuzz / harfbuzz / 4256 / 1
79%
master: 71%

Build:
DEFAULT BRANCH: master
Ran 13 Sep 2018 06:36PM UTC
Files 246
Run time 23s
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

13 Sep 2018 06:32PM UTC coverage: 67.585% (-0.003%) from 67.588%
4256.1

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

Source Files on job 4256.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 810
  • Travis Job 4256.1
  • 3789c557 on github
  • Prev Job for on master (#4253.1)
  • Next Job for on master (#4257.1)
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