resume-builder icon indicating copy to clipboard operation
resume-builder copied to clipboard

Fix inconsistent text rendering

Open bokub opened this issue 2 years ago • 1 comments

Font spacing in inconsistent when puppeteer is launched in headless mode (related issue).

For example, if you input the following text in wtfresume.com, the numbers are aligned as you can see in the screenshot.

aaaaa..................................................................|111
qwertyasdfzxcvyuiohjklbnm.............................|222
longlonglonglonglonglonglonglongshorty......|333

image


However, this is what the rendered PDF looks like:

image

  • The numbers aren't aligned anymore
  • The spacing between letters is very inconsistent

With --font-render-hinting=none, the issue is fixed, as you can see here:

image

bokub avatar Nov 10 '22 09:11 bokub

Someone is attempting to deploy a commit to a Personal Account owned by @sramezani on Vercel.

@sramezani first needs to authorize it.

vercel[bot] avatar Nov 10 '22 09:11 vercel[bot]