- minor bug fix -- xobj invalid name

This commit is contained in:
ari committed 2019-01-13 13:13:37 -05:00
1 parent addd59ed0f
commit b7026793d7
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -1 +1 @@
v1.3.2c
v1.3.3
+2 -2
View File
@@ -24,7 +24,7 @@ See documentation [here](https://asosnovsky.github.io/pdfmajor/).
## Basic Example
```py
from pdfmajor.interpreter import PageInterpreter
from pdfmajor.interpreter import PDFInterpreter
for page in PDFInterpreter("/path/to/pdf.pdf"):
print("page start", page.page_num)
@@ -97,7 +97,7 @@ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""
__version__ = (1, 3, 2c)
__version__ = (1, 3, 3)
if __name__ == '__main__':
print(
+1 -1
View File
@@ -48,7 +48,7 @@ def process_command_stream(streams: List[PDFStream], font_cache: dict = None, st
for complete_item in state.complete_layout_items:
if isinstance(complete_item, LTXObject):
xobj_state = prep_state(
state=PDFGraphicState(),
state=PDFStateStack(),
ctm=complete_item.t_matrix,
resources=complete_item.resources,
font_cache=font_cache
+1 -1
View File
@@ -10,7 +10,7 @@ import sys
with open('README.md') as readme_file:
SETUP = {
"name": "pdfmajor",
"version": "1.3.2c",
"version": "1.3.3",
"packages": find_packages(include=['pdfmajor*']),
"install_requires": [
'pycryptodome',