Skip to content

Conversation

@miyako
Copy link
Member

@miyako miyako commented Jul 13, 2020

the calculation of row and column count for form was incorrect.

  • the margins are not taken into account
  • the gaps are not taken into account
  • the values in 4lbp (if passed) is ignored

@miyako miyako changed the title calculate col and row for form only if 4lnp was not specified calculate col and row for form only if 4lbp was not specified Jul 13, 2020

$Ptr_table:=Table:C252($Lon_table)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an interesting approach, but the "Legacy printing layer option" is only available on Windows. It will not solve the problem on MacOS.

Copy link
Member Author

@miyako miyako Nov 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal is to pass a parameter to request 17R6 compatible mode. Of course, legacy printing means nothing on macOS, but we just need to read the value, we don't need to switch from Direct2D to GDI, so the solution works on both platforms. Of course there is a problem if the user really wants GDI, and it is an abuse of the specification, so a dedicated parameter would be better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants