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

1412 Коммитов

Автор SHA1 Сообщение Дата
James Jackson-South 7965b47e15 Fix character measurement. Cleanup API and Add tests 2023-06-19 21:15:01 +10:00
James Jackson-South 255cc9ccb1 NETFX 32bit hack 2023-06-19 00:17:40 +10:00
James Jackson-South 5177bab161 Complete rewrite of layout engine to match browser output. 2023-06-19 00:05:25 +10:00
James Jackson-South 548d913392 Update TextLayout.cs 2023-05-23 23:20:37 +10:00
James Jackson-South 65c4290ba9 Update TextOptions.cs 2023-05-23 22:41:02 +10:00
James Jackson-South 6a82d75ac7 Use wrapping length to orient the box when set. 2023-05-23 22:30:59 +10:00
James Jackson-South 79b3d4e232 First pass at new break kind. 2023-05-23 22:01:25 +10:00
James Jackson-South c94f7dc051 Merge branch 'js/vertical-layout-fixes' 2023-05-04 20:51:44 +10:00
James Jackson-South af3c860b2d MoveTo should always open a new figure to copy TTF behavior. 2023-05-04 20:51:13 +10:00
James Jackson-South eae87fcba6 Fix rotated decoration length 2023-05-04 20:50:42 +10:00
James Jackson-South f64781056d
Merge branch 'main' into js/use 2023-05-01 09:18:12 +10:00
James Jackson-South 55d489c75c
Merge pull request #329 from SixLabors/js/vertical-layout-fixes
Fix vertical metric calculations and layout.
2023-05-01 09:04:45 +10:00
James Jackson-South 3fe2792b30 Update GlyphMetrics.cs 2023-04-30 23:52:19 +10:00
James Jackson-South 6efe305e7a Fix vertical metric calculations and layout. 2023-04-30 23:42:03 +10:00
James Jackson-South 2d9ba01615 Fix build issues 2023-04-24 13:45:44 +10:00
James Jackson-South 340ca27824 Merge branch 'main' into js/use 2023-04-24 13:40:35 +10:00
James Jackson-South 1d25ba0626
Merge pull request #327 from SixLabors/js/uax-50
Implement UAX 50 to allow Vertical Mixed layout of text.
2023-04-23 21:03:43 +10:00
James Jackson-South 77a7016e91 Complete DFA tests 2023-04-20 11:37:15 +10:00
James Jackson-South 09b51cd447 More tests and fixes. 2023-04-19 23:43:13 +10:00
James Jackson-South c3d307c79b Update SixLabors.Fonts.Tests.csproj 2023-04-19 15:58:34 +10:00
James Jackson-South af3535c2bc First DFA test passes!!🥳 2023-04-19 15:49:06 +10:00
James Jackson-South 33186a256d Capture and use both sets of metrics. Use per glyph layout for shaping 2023-04-18 21:01:40 +10:00
James Jackson-South 1897184322 Comments 2023-04-12 22:26:05 +10:00
James Jackson-South bb9d36aa19 TTF now matches browser output. 2023-04-12 22:07:29 +10:00
James Jackson-South 4ee5bd6230 Basic TTF implementation 2023-04-11 21:44:40 +10:00
James Jackson-South 9aa85d9731
Merge branch 'main' into js/use 2023-03-17 13:46:14 +10:00
James Jackson-South 2a7c8a945b
Merge pull request #326 from SixLabors/js/fix-font-size
Fix rendering font size and overline position.
2023-03-16 11:30:20 +10:00
James Jackson-South 903a52e07d Fix rendering font size and overline position. 2023-03-16 11:13:47 +10:00
James Jackson-South 17d26bc54e
Merge pull request #325 from SixLabors/js/fix-publish
Replace MyGet
2023-03-13 22:19:29 +10:00
James Jackson-South 15934a0ddd Replace MyGet 2023-03-13 21:10:18 +10:00
James Jackson-South be1968290a
Merge pull request #323 from SixLabors/js/expose-kerning
Improve metrics APIs to make them more useful.
2023-03-13 20:40:59 +10:00
James Jackson-South ae2a33f57c Return the scaled kerning offset when called via Font 2023-03-10 14:41:54 +10:00
James Jackson-South 9de57ef07c GlyphMetrics should use the options size to render 2023-03-10 14:32:01 +10:00
James Jackson-South 4776a4a629 Temp remove drawing sample 2023-03-10 12:29:22 +10:00
James Jackson-South 0513dda4d0 Combine IGlyphRenderer with IGlyphDecorationRenderer 2023-03-10 12:22:46 +10:00
James Jackson-South 06283a8d02 Re-expose TextRun 2023-03-10 00:26:14 +10:00
James Jackson-South 9eb1913995 Update to new API 2023-03-08 20:19:58 +10:00
James Jackson-South 17c7408cb0
Merge branch 'main' into js/expose-kerning 2023-03-08 19:51:22 +10:00
James Jackson-South 18401a0858
Merge pull request #308 from CptWesley/expose-available-codepoints
Add exposed function to retrieve all unicode codepoints defined in fonts
2023-03-08 19:50:28 +10:00
James Jackson-South 51afd7cec2 Minor cleanup 2023-03-08 19:41:25 +10:00
James Jackson-South 1d47f388ec Merge remote-tracking branch 'upstream/main' into expose-available-codepoints 2023-03-08 19:16:04 +10:00
James Jackson-South 3f4819bb59 Fix conflicts 2023-02-01 19:34:36 +10:00
James Jackson-South 14a24a58e0 Merge branch 'main' into js/expose-kerning 2023-02-01 19:27:14 +10:00
James Jackson-South 2de8b7f06d Ensure default and cloned glyph metrics have the same values. 2023-02-01 19:25:04 +10:00
James Jackson-South 2474461d3f Expose method, use IReadOnlyList for better consumption semantics. 2023-01-31 20:56:18 +10:00
James Jackson-South 14b89e629b
Merge pull request #322 from SixLabors/js/defect-321
Ensure cache access is thread safe and fix calculated glyph bounds
2023-01-29 21:56:17 +10:00
James Jackson-South 5a16306824 Update GlyphTests.cs 2023-01-29 19:57:38 +10:00
James Jackson-South a026c1148e Ensure cache access is thread safe and fix calculated glyph bounds 2023-01-29 13:42:55 +10:00
James Jackson-South 570875b266
Merge pull request #317 from nakamura2000/fix-316
Fix #316 include open type font(otf) in system font collection.
2023-01-09 15:58:37 +10:00
nakamura2000 17cf049437 include otf font in system font collection 2023-01-09 01:32:16 +09:00