Граф коммитов

1401 Коммитов

Автор SHA1 Сообщение Дата
James Jackson-South fec131d9b6
Merge pull request #411 from Bykiev/FixDisposable
Fix IDisposable usage
2024-08-02 19:11:26 +10:00
Andrey Bykiev ed4b24edc4 Fix some review issues 2024-08-02 12:00:24 +03:00
ABykiev 154432a78b Fix IDisposable usage
This PR fixes a memory leak in FontReader with Woff2 fonts. Because of this FontReader class now implements IDisposable interface.
This PR also wraps disposable types with using statements to remove warnings.
2024-08-01 20:38:42 +03:00
James Jackson-South 165a348e4e
Merge pull request #409 from Bykiev/FixMemoryLeak
Fix memory leak in VerticalMetricsTable
2024-08-01 21:13:25 +10:00
ABykiev baca1eb823 Fix memory leak in VerticalMetricsTable
This PR fixes memory leak in VerticalMetricsTable
2024-07-29 23:06:34 +03:00
James Jackson-South 92a4f32833
Merge pull request #407 from SixLabors/js/fix-400-whitespace-trim
Ensure only trailing whitespace is trimmed.
2024-06-28 22:12:39 +10:00
James Jackson-South b0c57651cb Ensure only trailing whitespace is trimmed. 2024-06-28 18:43:24 +10:00
James Jackson-South a47bb5d614
Merge pull request #405 from SixLabors/js/fix-kerning
Apply kerning table offset to correct glyph.
2024-06-28 18:18:07 +10:00
James Jackson-South 61e10f9db4 Apply kerning table offset to correct glyph. 2024-06-28 16:10:27 +10:00
James Jackson-South e546be3ff8
Merge pull request #398 from gerdus/FixCharacterBounds
Fix character bounds returned by TryMeasureCharacterBounds
2024-03-28 17:34:45 +10:00
Gerdus 91405e38da Fix Character Bounds 2024-03-24 13:48:53 +02:00
James Jackson-South 30c8f15fda
Merge pull request #395 from batwomankt/fix-issue-393
trim whitespace from EOLs when line split is found
2024-03-19 22:14:32 +10:00
Katie Gould 73cff2e67b one final spot where whitespace needs trimming, non CDK as well as CDK 2024-03-19 07:57:45 -04:00
batwomankt 89b4ce7c6c
Merge branch 'main' into fix-issue-393 2024-03-19 07:00:15 -04:00
James Jackson-South 0b60d5a25d
Merge pull request #396 from gerdus/main
Add StringIndex and GraphemeIndex to GlyphBounds
2024-03-19 15:27:23 +10:00
Gerdus 5cfb1fd193 Add StringIndex and GraphemeIndex to GlyphBounds 2024-03-17 15:38:46 +02:00
Katie Gould 8ec57078c4 trim trailing whitespace from exact length line breaks 2024-03-16 10:02:36 -04:00
Katie Gould 265668d969 trim whitespace from EOLs when line split is found 2024-03-15 15:45:55 -04:00
James Jackson-South 5d76f69080
Merge pull request #391 from SixLabors/defect/390
Fix NullReferenceException in UniversalShaper
2024-03-13 16:44:30 +10:00
James Jackson-South 58676e05e2 Add tests for 388 2024-03-13 16:24:33 +10:00
James Jackson-South 03f36c4283 Fix #390 2024-03-13 16:15:27 +10:00
James Jackson-South d24a330254
Merge pull request #385 from Bykiev/main
Update vulnarable SkiaSharp version
2024-02-27 11:05:25 +10:00
ABykiev 15b7f8ee8e Update SixLabors.Fonts.Benchmarks.csproj 2024-02-26 22:23:25 +03:00
ABykiev bf5cb330d4 Update Directory.Build.targets 2024-02-15 20:44:23 +03:00
ABykiev 3c81103863 Update vulnarable SkiaSharp version
Update vulnarable SkiaSharp version to latest. Also update BenchmarkDotNet to latest version
2024-02-15 19:53:19 +03:00
James Jackson-South 18dfeb42f6
Merge pull request #382 from SixLabors/js/low-hanging-fruit
Optimize low hanging fruit
2024-02-15 20:51:13 +10:00
James Jackson-South 83d24b7cef Ensure we never add empty text lines 2024-02-15 20:44:22 +10:00
James Jackson-South 3bf24e4169 Make lazy values thread safe. 2024-02-14 21:54:22 +10:00
James Jackson-South c5e4cefb85 Optimize TextBox. 2024-02-14 21:53:26 +10:00
James Jackson-South cda8d067ac
Merge pull request #380 from SixLabors/js/fix-375
Fix Woff2 bounds decompression and size measurement calculations.
2024-02-09 19:57:58 +10:00
James Jackson-South 7c23ae8520 Fix 367 2024-02-09 16:12:20 +10:00
James Jackson-South 476c5f34b1 Remove negative offset hack 2024-02-08 22:31:26 +10:00
James Jackson-South bb13b0160a Fix broken test 2024-02-08 20:30:33 +10:00
James Jackson-South 203dac4c62 Fix bounds and size measurement 2024-02-08 20:08:22 +10:00
James Jackson-South 5930793285 Correctly read woff2 bounds 2024-02-08 20:07:46 +10:00
James Jackson-South fa8a4c9657
Merge pull request #379 from SixLabors/js/fix-378
Prevent key collision in glyphmetrics cache.
2024-02-07 14:03:50 +10:00
James Jackson-South c63913c632 Merge branch 'main' into js/fix-378 2024-02-07 13:46:25 +10:00
James Jackson-South d5d4a3b082
Merge pull request #377 from SixLabors/dependabot/github_actions/codecov/codecov-action-4
Bump codecov/codecov-action from 3 to 4
2024-02-07 13:46:17 +10:00
dependabot[bot] 94bc8dcf8a
Bump codecov/codecov-action from 3 to 4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-07 03:45:07 +00:00
James Jackson-South 9e3d267566
Merge pull request #376 from SixLabors/dependabot/github_actions/NuGet/setup-nuget-2
Bump NuGet/setup-nuget from 1 to 2
2024-02-07 13:43:45 +10:00
dependabot[bot] 977001a3da
Bump NuGet/setup-nuget from 1 to 2
Bumps [NuGet/setup-nuget](https://github.com/nuget/setup-nuget) from 1 to 2.
- [Release notes](https://github.com/nuget/setup-nuget/releases)
- [Commits](https://github.com/nuget/setup-nuget/compare/v1...v2)

---
updated-dependencies:
- dependency-name: NuGet/setup-nuget
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-07 03:43:16 +00:00
James Jackson-South 8658808b91
Merge pull request #374 from SixLabors/dependabot/github_actions/actions/cache-4
Bump actions/cache from 3 to 4
2024-02-07 13:43:03 +10:00
James Jackson-South a09ea7fa89
Merge pull request #370 from SixLabors/dependabot/github_actions/actions/upload-artifact-4
Bump actions/upload-artifact from 3 to 4
2024-02-07 13:42:41 +10:00
James Jackson-South a10eb0edaf
Merge branch 'main' into dependabot/github_actions/actions/upload-artifact-4 2024-02-07 13:32:13 +10:00
James Jackson-South 28c0349ca5 Use codepoint value in glyph cache key 2024-02-07 13:31:44 +10:00
James Jackson-South 4c882536bf
Merge pull request #371 from snechaev/main
Platform-independent way to build path for fonts into the sample. Now…
2024-01-24 19:19:35 +10:00
dependabot[bot] 3dcb16f961
Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 20:30:32 +00:00
Sergey Nechaev 1b4c94911c Platform-independent way to build path for fonts into the sample. Now should work on non-Windows systems. 2023-12-19 18:13:33 +01:00
dependabot[bot] bf847b56f7
Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 20:32:46 +00:00
James Jackson-South e0eb5032d8
Merge pull request #366 from SixLabors/dependabot/github_actions/actions/setup-dotnet-4
Bump actions/setup-dotnet from 3 to 4
2023-12-05 11:54:17 +10:00