Skip to content

Commit

Permalink
src/__init__.py: fix mupdf version for use of argb instead of color.
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-smith-artifex-com committed Nov 29, 2024
1 parent d2a91c7 commit 00c39d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16551,7 +16551,7 @@ def __str__(self):
style.size = ch.m_internal.size
style.flags = flags
style.font = JM_font_name(mupdf.FzFont(mupdf.ll_fz_keep_font(ch.m_internal.font)))
if mupdf_version_tuple >= (1, 26):
if mupdf_version_tuple >= (1, 25):
style.color = ch.m_internal.argb
else:
style.color = ch.m_internal.color
Expand Down

0 comments on commit 00c39d6

Please sign in to comment.