Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Merge requests
  • !1788
An error occurred while fetching the assigned milestone of the selected merge_request.

Don't force width of large collections of text. #1718.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Davide P. Cervone requested to merge github/fork/dpvc/issue1718 into develop 8 years ago
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

The inaccuracy of the measurement of the pixels-per-em has a larger effect for larger runs of text, so don't force width of large collections of text (in this case, over 3 ems).

Resolves issue #1718 (closed).

Compare
  • develop (base)

and
  • latest version
    3d84e67a
    1 commit, 2 years ago

1 file
+ 1
- 1

    Preferences

    File browser
    Compare changes
unpacked/jax/output/CommonHTML/jax.js
+ 1
- 1
  • View file @ 3d84e67a

  • Edit in single-file editor

  • Open in Web IDE


@@ -987,7 +987,7 @@
if (bbox.a == null || state.a > bbox.a) bbox.a = state.a;
}
node = this.flushText(node,state,item.style);
node.style.width = CHTML.Em(C[2]);
if (C[2] < 3) node.style.width = CHTML.Em(C[2]); // only force width if not too large (#1718)
},
//
// Put the pending text into a box of the class, and
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: github/fork/dpvc/issue1718

Menu

Explore Projects Groups Snippets