Skip to content

Commit 237dd00

Browse files
committed
v0.1.3
1 parent 0ef9dc6 commit 237dd00

File tree

7 files changed

+26
-27
lines changed

7 files changed

+26
-27
lines changed

CSharpMath.Forms/CSharpMath.Forms.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
<TargetFramework>netstandard2.0</TargetFramework>
44
<LangVersion>latest</LangVersion>
55
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
6-
<PackageVersion>0.1.2</PackageVersion>
6+
<PackageVersion>0.1.3</PackageVersion>
77
<Authors>CSharpMath Contributors (verybadcat, Happypig375, charlesroddie, FoggyFinder)</Authors>
8-
<PackageReleaseNotes>The 0.1.2 SkiaSharp Update fixes \par-style spaces not being accounted for line width, and renames CSharpMath.Display.IMathFont to CSharpMath.Display.IFont.</PackageReleaseNotes>
8+
<PackageReleaseNotes>The 0.1.3 SkiaSharp Update fixes the incorrectly calculated descent of large operators' lower limits.</PackageReleaseNotes>
99
<RepositoryType>git</RepositoryType>
1010
<RepositoryUrl>https://github.com/verybadcat/CSharpMath.git</RepositoryUrl>
1111
<RepositoryBranch>master</RepositoryBranch>
12-
<RepositoryCommit>6a873e77e625511ac428fe6e6e91897c7ac58778</RepositoryCommit>
12+
<RepositoryCommit>0ef9dc610592f064c3e8d22b8ea345170125e2e1</RepositoryCommit>
1313
<PackageProjectUrl>https://github.com/verybadcat/CSharpMath</PackageProjectUrl>
1414
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1515
<PackageLicenseUrl>https://github.com/verybadcat/CSharpMath/blob/master/LICENSE</PackageLicenseUrl>
1616
<PackageIconUrl>https://raw.githubusercontent.com/verybadcat/CSharpMath/master/Icon.png</PackageIconUrl>
17-
<Copyright>CSharpMath Contributors 2018</Copyright>
17+
<Copyright>© CSharpMath Contributors 2018</Copyright>
1818
<PackageId>CSharpMath.Forms</PackageId>
1919
<Title>CSharpMath.Forms</Title>
2020
<Description>The Xamarin.Forms front end for CSharpMath.</Description>

CSharpMath.Ios/CSharpMath.Ios.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@
1414
<NuGetPackageImportStamp></NuGetPackageImportStamp>
1515
<PackOnBuild>true</PackOnBuild>
1616
<PackageId>CSharpMath.Ios</PackageId>
17-
<PackageVersion>0.1.2</PackageVersion>
17+
<PackageVersion>0.1.3</PackageVersion>
1818
<Authors>CSharpMath Contributors (verybadcat, Happypig375, charlesroddie, FoggyFinder)</Authors>
1919
<NeutralLanguage>en</NeutralLanguage>
2020
<PackageLicenseUrl>https://github.com/verybadcat/CSharpMath/blob/master/LICENSE</PackageLicenseUrl>
2121
<PackageProjectUrl>https://github.com/verybadcat/CSharpMath</PackageProjectUrl>
22-
<PackageReleaseNotes>The 0.1.2 SkiaSharp Update fixes \par-style spaces not being accounted for line width, and renames CSharpMath.Display.IMathFont to CSharpMath.Display.IFont.</PackageReleaseNotes>
22+
<PackageReleaseNotes>The 0.1.3 SkiaSharp Update fixes the incorrectly calculated descent of large operators' lower limits.</PackageReleaseNotes>
2323
<PackageTags>math;mathematics;mathematical;formula;equation;equations;expression;tex;latex;render;rendering;display;ios;xamarin</PackageTags>
2424
<Title>CSharpMath.Ios</Title>
2525
<Description>The iOS front end for CSharpMath.</Description>
26-
<Copyright>CSharpMath Contributors 2018</Copyright>
26+
<Copyright>© CSharpMath Contributors 2018</Copyright>
2727
<RepositoryType>git</RepositoryType>
2828
<RepositoryUrl>https://github.com/verybadcat/CSharpMath.git</RepositoryUrl>
2929
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
3030
<RepositoryBranch>master</RepositoryBranch>
31-
<RepositoryCommit>6a873e77e625511ac428fe6e6e91897c7ac58778</RepositoryCommit>
31+
<RepositoryCommit>0ef9dc610592f064c3e8d22b8ea345170125e2e1</RepositoryCommit>
3232
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
3333
<PackageIconUrl>https://raw.githubusercontent.com/verybadcat/CSharpMath/master/Icon.png</PackageIconUrl>
3434
</PropertyGroup>

CSharpMath.Rendering/CSharpMath.Rendering.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@
1111
<!--NuGet Properties-->
1212
<PackOnBuild>true</PackOnBuild>
1313
<PackageId>CSharpMath.Rendering</PackageId>
14-
<PackageVersion>0.1.2</PackageVersion>
14+
<PackageVersion>0.1.3</PackageVersion>
1515
<Authors>CSharpMath Contributors (verybadcat, Happypig375, charlesroddie, FoggyFinder)</Authors>
1616
<PackageLicenseUrl>https://github.com/verybadcat/CSharpMath/blob/master/LICENSE</PackageLicenseUrl>
1717
<PackageProjectUrl>https://github.com/verybadcat/CSharpMath</PackageProjectUrl>
18-
<PackageReleaseNotes>The 0.1.2 SkiaSharp Update fixes \par-style spaces not being accounted for line width, and renames CSharpMath.Display.IMathFont to CSharpMath.Display.IFont.</PackageReleaseNotes>
18+
<PackageReleaseNotes>The 0.1.3 SkiaSharp Update fixes the incorrectly calculated descent of large operators' lower limits.</PackageReleaseNotes>
1919
<PackageTags>math;mathematics;mathematical;formula;equation;equations;expression;tex;latex;render;rendering;display</PackageTags>
2020
<Title>CSharpMath.Rendering</Title>
2121
<Description>Rendering interface fror CSharpMath using the Typography library.</Description>
2222
<RepositoryType>git</RepositoryType>
23-
<Copyright>CSharpMath Contributors 2018</Copyright>
23+
<Copyright>© CSharpMath Contributors 2018</Copyright>
2424
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
2525
<RepositoryUrl>https://github.com/verybadcat/CSharpMath.git</RepositoryUrl>
2626
<RepositoryBranch>master</RepositoryBranch>
27-
<RepositoryCommit>6a873e77e625511ac428fe6e6e91897c7ac58778</RepositoryCommit>
27+
<RepositoryCommit>0ef9dc610592f064c3e8d22b8ea345170125e2e1</RepositoryCommit>
2828
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
2929
<PackageIconUrl>https://raw.githubusercontent.com/verybadcat/CSharpMath/master/Icon.png</PackageIconUrl>
3030
</PropertyGroup>

CSharpMath.SkiaSharp/CSharpMath.SkiaSharp.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
<TargetFramework>netstandard1.3</TargetFramework>
44
<LangVersion>latest</LangVersion>
55
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
6-
<PackageVersion>0.1.2</PackageVersion>
6+
<PackageVersion>0.1.3</PackageVersion>
77
<Authors>CSharpMath Contributors (verybadcat, Happypig375, charlesroddie, FoggyFinder)</Authors>
8-
<PackageReleaseNotes>The 0.1.2 SkiaSharp Update fixes \par-style spaces not being accounted for line width, and renames CSharpMath.Display.IMathFont to CSharpMath.Display.IFont.</PackageReleaseNotes>
8+
<PackageReleaseNotes>The 0.1.3 SkiaSharp Update fixes the incorrectly calculated descent of large operators' lower limits.</PackageReleaseNotes>
99
<RepositoryType>git</RepositoryType>
1010
<RepositoryUrl>https://github.com/verybadcat/CSharpMath.git</RepositoryUrl>
1111
<RepositoryBranch>master</RepositoryBranch>
12-
<RepositoryCommit>6a873e77e625511ac428fe6e6e91897c7ac58778</RepositoryCommit>
12+
<RepositoryCommit>0ef9dc610592f064c3e8d22b8ea345170125e2e1</RepositoryCommit>
1313
<PackageProjectUrl>https://github.com/verybadcat/CSharpMath</PackageProjectUrl>
1414
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1515
<PackageLicenseUrl>https://github.com/verybadcat/CSharpMath/blob/master/LICENSE</PackageLicenseUrl>
1616
<PackageIconUrl>https://raw.githubusercontent.com/verybadcat/CSharpMath/master/Icon.png</PackageIconUrl>
17-
<Copyright>CSharpMath Contributors 2018</Copyright>
17+
<Copyright>© CSharpMath Contributors 2018</Copyright>
1818
<PackageId>CSharpMath.SkiaSharp</PackageId>
1919
<Title>CSharpMath.SkiaSharp</Title>
2020
<Description>The SkiaSharp front end for CSharpMath.</Description>

CSharpMath.Utils.NuGet/ReleaseData.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<ReleaseData>
33
<_Global->
44
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
5-
<PackageVersion>0.1.2</PackageVersion>
5+
<PackageVersion>0.1.3</PackageVersion>
66
<Authors>CSharpMath Contributors (verybadcat, Happypig375, charlesroddie, FoggyFinder)</Authors>
7-
<PackageReleaseNotes>The 0.1.2 SkiaSharp Update fixes \par-style spaces not being accounted for line width, and renames CSharpMath.Display.IMathFont to CSharpMath.Display.IFont.</PackageReleaseNotes>
7+
<PackageReleaseNotes>The 0.1.3 SkiaSharp Update fixes the incorrectly calculated descent of large operators' lower limits.</PackageReleaseNotes>
88
<RepositoryType>git</RepositoryType>
99
<RepositoryUrl>https://github.com/verybadcat/CSharpMath.git</RepositoryUrl>
1010
<RepositoryBranch>master</RepositoryBranch>
11-
<RepositoryCommit>6a873e77e625511ac428fe6e6e91897c7ac58778</RepositoryCommit>
11+
<RepositoryCommit>0ef9dc610592f064c3e8d22b8ea345170125e2e1</RepositoryCommit>
1212
<PackageProjectUrl>https://github.com/verybadcat/CSharpMath</PackageProjectUrl>
1313
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1414
<PackageLicenseUrl>https://github.com/verybadcat/CSharpMath/blob/master/LICENSE</PackageLicenseUrl>
1515
<PackageIconUrl>https://raw.githubusercontent.com/verybadcat/CSharpMath/master/Icon.png</PackageIconUrl>
16-
<Copyright>CSharpMath Contributors 2018</Copyright>
16+
<Copyright>© CSharpMath Contributors 2018</Copyright>
1717
<PackageTags>math;mathematics;mathematical;formula;equation;equations;expression;tex;latex;render;rendering;display</PackageTags>
1818
</_Global->
1919
<_Template->

CSharpMath/CSharpMath.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
66
<Authors>CSharpMath Contributors (verybadcat, Happypig375, charlesroddie, FoggyFinder)</Authors>
77
<Description>C# LaTeX math rendering engine core. Can display beautiful math equations and symbols. Needs a front end to function. Currently, front ends exist for iOS, SkiaSharp and Xamarin.Forms.</Description>
8-
<PackageReleaseNotes>The 0.1.2 SkiaSharp Update fixes \par-style spaces not being accounted for line width, and renames CSharpMath.Display.IMathFont to CSharpMath.Display.IFont.</PackageReleaseNotes>
8+
<PackageReleaseNotes>The 0.1.3 SkiaSharp Update fixes the incorrectly calculated descent of large operators' lower limits.</PackageReleaseNotes>
99
<RepositoryType>git</RepositoryType>
1010
<RepositoryUrl>https://github.com/verybadcat/CSharpMath.git</RepositoryUrl>
1111
<PackageProjectUrl>https://github.com/verybadcat/CSharpMath</PackageProjectUrl>
1212
<PackageLicenseUrl>https://github.com/verybadcat/CSharpMath/blob/master/LICENSE</PackageLicenseUrl>
13-
<Copyright>CSharpMath Contributors 2018</Copyright>
13+
<Copyright>© CSharpMath Contributors 2018</Copyright>
1414
<PackageTags>math;mathematics;mathematical;formula;equation;equations;expression;tex;latex;render;rendering;display</PackageTags>
15-
<PackageVersion>0.1.2</PackageVersion>
15+
<PackageVersion>0.1.3</PackageVersion>
1616
<RepositoryBranch>master</RepositoryBranch>
17-
<RepositoryCommit>6a873e77e625511ac428fe6e6e91897c7ac58778</RepositoryCommit>
17+
<RepositoryCommit>0ef9dc610592f064c3e8d22b8ea345170125e2e1</RepositoryCommit>
1818
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1919
<PackageIconUrl>https://raw.githubusercontent.com/verybadcat/CSharpMath/master/Icon.png</PackageIconUrl>
2020
<PackageId>CSharpMath</PackageId>

CSharpMath/Display/LargeOpLimitsDisplay.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Drawing;
44
using System.Text;
@@ -63,12 +63,11 @@ public float Descent {
6363
if (LowerLimit == null) {
6464
return _nucleusDisplay.Descent;
6565
}
66-
return _nucleusDisplay.Descent + _extraPadding + LowerLimit.Descent
66+
return _nucleusDisplay.Descent + _extraPadding + LowerLimit.Ascent
6767
+ _lowerLimitGap + LowerLimit.Descent;
6868
}
6969
}
7070

71-
7271
public float Width { get; set; }
7372

7473
public Range Range {

0 commit comments

Comments
 (0)