def METHOD_NAME(size1, size2):
    """ Returns a match score between *size1* and *size2*.
    If *size2* (the size specified in the font file) is 'scalable', this
    function always returns 0.0, since any font size can be generated.
    Otherwise, the result is the absolute distance between *size1* and
    *size2*, normalized so that the usual range of font sizes (6pt -
    72pt) will lie between 0.0 and 1.0.
    """
    if size2 == "scalable":
        return 0.0
    # Size value should have already been
    try:
        sizeval1 = float(size1)
    except ValueError:
        return 1.0
    try:
        sizeval2 = float(size2)
    except ValueError:
        return 1.0
    return abs(sizeval1 - sizeval2) / 72.0