2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'AmoreThis file and its contents are supplied under the terms of the
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'AmoreCommon Development and Distribution License ("CDDL"), version 1.0.
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'AmoreYou may only use this file in accordance with the terms of version
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amore1.0 of the CDDL.
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'AmoreA full copy of the text of the CDDL should have accompanied this
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amoresource. A copy of the CDDL is also available via the Internet at
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'AmoreCopyright 2013 DEY Storage Systems, Inc.
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'AmoreScratch script to produce the widths.cm content from the widths text
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amorefiles. It converts numeric unicode to symbolic forms.
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amore Convert a numeric value to a string representing the UTF-8 encoding
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amore of the numeric value, which should be a valid Unicode code point.
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amore This function loads the UTF-8 character map file, loading the symbols
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amore and the numeric values. The result goes into the global SYMBOLS array.
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amore if (len(items) != 2) or items[0].startswith("#"):
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amore This function takes a file pairs of unicode values (hex), each of
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amore which is a range of unicode values, that all have the given width.
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amore print "WIDTH"
2da1cd3a39e2d3da7f9d15071ea9462919c011acGarrett D'Amore print "END WIDTH"