Skip to content

Conversation

@Happypig375
Copy link
Collaborator

Part of a series of PRs on fixing #32

  • Fixed large space above large matrices
  • Fixed several parsing bugs like \left( x\\ y\right) which round-tripped to \left( x\\ y&\right)
  • Better error messages for \begin \end and \left \right pairs
  • And refactorings

return new GlyphConstructionDisplay<TFont, TGlyph>
(glyphs, offsets, _styleFont, height, 0, _context.GlyphBoundsProvider
.GetAdvancesForGlyphs(_styleFont, singleGlyph.Result, 1).Total);
// it's up to the rendering to adjust the display glyph up or down
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe better to move this line up? Can be unclear what it means now.

@FoggyFinder
Copy link
Collaborator

CSharpMath.Rendering.Tests.TestIcon.DrawsAsUsual test was failed with NRE for some reason. It passes fine locally (on Windows though). After re-run all tests are passed as well. What could it be?

I don't think it's related to this PR but still curious.

@Happypig375
Copy link
Collaborator Author

CSharpMath.Rendering.Tests.TestIcon.DrawsAsUsual test was failed with NRE for some reason.

The NRE has happened before, albeit rarely. I suspect it is a multithreading issue. Not sure how to fix this apart from re-running tests on fail.

@Happypig375 Happypig375 merged commit 46e7a7a into master Jun 13, 2020
@Happypig375 Happypig375 added the Resolution/Fixed The described issue is fixed. label Jun 13, 2020
@Happypig375 Happypig375 deleted the issue32/SpacingAndBoundingBoxes branch June 13, 2020 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Resolution/Fixed The described issue is fixed. Type/Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants