Defined in pyglet.text
Get a document decoder for the given filename and MIME type.
If mimetype is omitted it is guessed from the filename extension.
The following MIME types are supported:
DocumentDecodeException is raised if another MIME type is given.
Parameters: |
|
---|---|
Return type: | DocumentDecoder |