Hi Miriam, On Fri, Feb 15, 2008 at 06:00:25PM +0100, Miriam Ruiz wrote: > Is there any way to compare fonts (I'm thinking mostly about TTF) that > would be independent of the instant of creation (assuming exactly the > same sources)? I'm even thinking about having a big virtual canvas, > drawing the fonts on it, and compare them, or something like that. Any > ideas? that's what I do everytime a new version of dejavu is released; and here is the code snippet which does the trick (if anything's not clear I can explain it). Imagemagick is your friend! a="${BASE}/${old}/${pkg}/${file}" b="${BASE}/${new}/${pkg}/${file}" c="${BASE}/${OUTDIR}/diff_${file}" meas=$(compare -metric AE $a $b $c | grep dB | awk '{print $1}') if [ ${meas} -eq 0 ] ; then # png don't differ mv $a ${BASE}/${OUTDIR}/common/ rm $b $c else echo "[${pkg}/${file/.png/}]" fi I collect the results here: http://d-i.alioth.debian.org/gtk-frontend/screenshots/ you'll se no diffs here since there were no changes! I'm setting up a wiki on Alioth mainly focused on fonts, were I'm planning to write down the ideas I've gathered in the last couple of years which should improve the quality of fonts. It'd be great if you'd like to contribute. I'd like to prepare a few articles and publish those on planet debian More about it in the very near future ciao, Davide
Attachment:
signature.asc
Description: Digital signature