Comment 2 for bug 1865088

Revision history for this message
Ben Harris (bjh21.me.uk) wrote :

I notice that the output from setupcon mentions loading the font twice. That seems to correspond to this fragment of code in setupcon:

# FONTFILES
FONTFILES=''
if [ "$FONT" ]; then
    for f in $FONT; do
        FONTFILES="$FONTFILES `findfile $fontdir $f`"
        RES=`findfile $fontdir $f`
        if [ -z "$RES" ]; then
            fdec="${f%.gz}"
            RES=`findfile $fontdir $fdec`
        fi
        FONTFILES="$FONTFILES $RES"
    done
fi

It looks to me like this will add each font file to FONTFILES twice, once in the first line of the loop body, and once in the last.