Skip to content

Conversation

@akraus53
Copy link

@akraus53 akraus53 commented Dec 7, 2023

This sets a default explicitly, which is set differently by some rtf displayers, e.g. MS PowerPoint. Here, \sa200 is assumed which adds a 10pt spacing after every newline, thus making the code very spaced out. For further discussion, see #1111. This issue is solved by this PR.

Edit: I referenced the wrong issue...

This sets a default explicitly, which is set differently by some rtf displayers, e.g. MS PowerPoint. Here, \sa200 is assumed which adds a 10pt spacing after every newline, thus making the code very spaced out. For further discussion, see pygments#945. This issue is solved by this PR.
@akraus53
Copy link
Author

akraus53 commented Dec 7, 2023

Here you can see a direct comparison of the changes:

before after
image image

Because of the enormous spacing after every line i had to shrink down the code a lot.

@akraus53 akraus53 changed the title add the \sa0 keyword to the rtf formatter [Waiting for #2654] add the \sa0 keyword to the rtf formatter Mar 3, 2024
Anteru added a commit that referenced this pull request Apr 27, 2024
@Anteru Anteru added the A-formatting area: changes to formatters label Apr 27, 2024
@Anteru Anteru added this to the 2.18.0 milestone Apr 27, 2024
@Anteru
Copy link
Collaborator

Anteru commented Apr 27, 2024

Applied manually in 544e58c, thanks.

@Anteru Anteru closed this Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-formatting area: changes to formatters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants