riscv/riscv-debug-spec

Register bit-field bit offset numbers clipped

TommyMurphyTM1234 opened this issue · 2 comments

Minor/cosmetic issue.

Is it possible to fix the clipping of the top of the bit-field bit offset numbers here (and elsewhere)?

Screenshot_20240323-140838

This seems like a PDF rendering/font issue. Looking at the rc2 PDF in my browser, I get:
image

We're not requesting a specific font, or anything. :( The relevant code is at

fd.write('(draw-column-headers {:font-size 15 :height 17 :labels [%s]})\n' % " ".join(f'"{h}"' for h in reversed(headers)))

I don't know how to fix this.

This seems like a PDF rendering/font issue.

Ah, good point. I only checked it in one PDF viewer - Foxit on Android - and didn't think to check it on other devices/viewers. I'll do that and most likely close this issue off. Thanks for checking @rtwfroody.