shithub: riscv

Download patch

ref: e3b49509662cc1da997db4113b743d477a9e1ac0
parent: b7ab1354e3fdf32d2a587de00b4b324779b34b20
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jan 5 22:49:14 EST 2014

libdraw: fix stringwidth problems

cachechars() used to skip over characters on its own when
loadchar() could not find the character or a PJW replacement.
this resulted in wrong width calculation. now we just return
and handle the case inside _string and _stringwidth.

fix subfont leak in stringwidth()

remove annoying prints in stringwidth()