def writeCharacterSet(font, writer, pointSizes=[9, 10, 11, 12, 14, 18, 24, 36, 48, 72], sampleText=None):
    characterSet = makeCharacterSet(font)
    for size in pointSizes:
        # start the block
        writer.begintag("div", c_l_a_s_s="infoBlock")
        # title
        writer.begintag("h4", c_l_a_s_s="infoBlockTitle")
        writer.write(size % "%dpx")
        writer.endtag("h4")
        # character set
        writer.begintag("p", style="font-size: %dpx;" % size, c_l_a_s_s="characterSet")
        writer.write(characterSet)
        writer.endtag("p")
        # sample text
        if sampleText:
            writer.begintag("p", style="font-size: %dpx;" % size, c_l_a_s_s="sampleText")
            writer.write(sampleText)
            writer.endtag("p")
        # close the container
        writer.endtag("div")

# -------------
# Character Set
# -------------
dataset/ETHPy150Open typesupply/woffTools/Lib/woffTools/tools/proof.py/writeCharacterSet/swapped operands of `%`