"""
This file and its contents are supplied under the terms of the
Common Development and Distribution License ("CDDL"), version 1.0.
You may only use this file in accordance with the terms of version
1.0 of the CDDL.
A full copy of the text of the CDDL should have accompanied this
source. A copy of the CDDL is also available via the Internet at
Copyright 2013 DEY Storage Systems, Inc.
Scratch script to produce the widths.cm content from the widths text
files. It converts numeric unicode to symbolic forms.
"""
SYMBOLS = {}
"""
Convert a numeric value to a string representing the UTF-8 encoding
of the numeric value, which should be a valid Unicode code point.
"""
idx = 0
out = ""
idx += 1
return out
def load_utf8():
"""
This function loads the UTF-8 character map file, loading the symbols
and the numeric values. The result goes into the global SYMBOLS array.
"""
continue
"""
This function takes a file pairs of unicode values (hex), each of
which is a range of unicode values, that all have the given width.
"""
continue
val += 1
if sym == None:
continue
if __name__ == "__main__":
print "WIDTH"
print "END WIDTH"