1664abf08a28bd064e7ab0a020ad9e4db6b9df6e,pdfminer/cmapdb.py,CMapDB,get_unicode_map,#Any#Any#Any#,232
Before Change
@classmethod
def get_unicode_map(klass, name, vertical=False):
modname = "pdfminer.cmap.TO_UNICODE_%s" % name.replace("-","_")
if klass.debug:
print >>sys.stderr, "loading:", modname, vertical
try:
module = __import__(modname, fromlist=["pdfminer.cmap"])
except ImportError:
raise CMapDB.CMapNotFound(name)
return PyUnicodeMap(name, module, vertical)
//// CMapParser
////
After Change
pass
data = klass._load_data("to-unicode-%s" % name)
klass._umap_cache[name] = umaps = [PyUnicodeMap(name, data, v) for v in (False, True)]
return umaps[vertical]
//// CMapParser
////
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: timvieira/arsenal
Commit Name: 1664abf08a28bd064e7ab0a020ad9e4db6b9df6e
Time: 2010-08-30
Author: none@none
File Name: pdfminer/cmapdb.py
Class Name: CMapDB
Method Name: get_unicode_map
Project Name: tensorflow/tensorboard
Commit Name: 0388130aaa167f8cef5e02c952637a7a425f8959
Time: 2020-04-17
Author: wchargin@gmail.com
File Name: tensorboard/plugin_util.py
Class Name:
Method Name: markdown_to_safe_html
Project Name: timvieira/arsenal
Commit Name: 1664abf08a28bd064e7ab0a020ad9e4db6b9df6e
Time: 2010-08-30
Author: none@none
File Name: pdfminer/cmapdb.py
Class Name: CMapDB
Method Name: get_cmap