Skip to content

Incoherent space in Log view #1674

@melomac

Description

@melomac

At least on macoOS, and depending on the font name and the font size, the following code doesn't show nicely in the Log view:

import numpy as np
import random

def p(t):
    log_info(str(np.array(t).reshape((16, 16))))

# ok
x = range(256)
p(x)

# ko
p(random.sample(x, k=len(x)))
Result Font name Font size
Inconsolata 11
Inconsolata 12
Inconsolata 13
Inconsolata 14
Source Code Pro 11
Source Code Pro 12
Source Code Pro 13
Source Code Pro 14
SF Mono 11
SF Mono 12
SF Mono 13
SF Mono 14

SF Mono comes from /System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: UIIssue needs changes to the user interfaceImpact: LowIssue is a papercut or has a good, supported workaround

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions