Hajime Hoshi
|
daa14ac686
|
examples/fontfeature: show the state of 'zero'
Updates #2454
|
2023-11-23 18:51:36 +09:00 |
|
Hajime Hoshi
|
30f05f4ad7
|
text/v2: add an example for font features
Updates #2454
|
2023-11-23 18:47:49 +09:00 |
|
Hajime Hoshi
|
2432888b9f
|
text/v2: fix test
|
2023-11-21 14:32:30 +09:00 |
|
Hajime Hoshi
|
36fc5b0266
|
test/v2: add a test for an unhashable font.Face
Updates #2454
Closes #2669
|
2023-11-20 23:18:59 +09:00 |
|
Hajime Hoshi
|
1be6aa5e98
|
examples/fontvector: add alphabets
|
2023-11-20 03:50:41 +09:00 |
|
Hajime Hoshi
|
c0e41de921
|
text/v2: add AppendVectorPath
Closes #1937
Updates #2454
|
2023-11-20 03:38:26 +09:00 |
|
Hajime Hoshi
|
03a8aaee5c
|
text/v2: define different key types for StdFace and GoTextFaceSource
|
2023-11-19 23:40:47 +09:00 |
|
Hajime Hoshi
|
57ae07eb36
|
text/v2: let StdFace and GoTextFaceSource have their own glyph caches
|
2023-11-19 23:32:49 +09:00 |
|
Hajime Hoshi
|
7a08737326
|
text/v2: add copyCheck to GoTextFaceSource
|
2023-11-19 23:15:18 +09:00 |
|
Hajime Hoshi
|
d2d86fbddd
|
text/v2: add tests
Updates #2454
|
2023-11-19 17:43:44 +09:00 |
|
Hajime Hoshi
|
85fdf90d4d
|
text: refactoring
|
2023-11-19 17:42:07 +09:00 |
|
Hajime Hoshi
|
c45e9d0c00
|
internal/processtest: remove an empty line
|
2023-11-19 17:01:00 +09:00 |
|
Hajime Hoshi
|
af6b8dcd1c
|
internal/processtest: use text/v2
Updates #2454
|
2023-11-19 16:55:03 +09:00 |
|
Hajime Hoshi
|
ecb1ac03d6
|
examples/keyboard/keyboard: use text/v2
Updates #2454
|
2023-11-19 16:47:08 +09:00 |
|
Hajime Hoshi
|
e4c0fa9d62
|
examples/fullscreen: use text/v2
Updates #2454
|
2023-11-19 16:07:16 +09:00 |
|
Hajime Hoshi
|
9b9384baa0
|
internal/shader: bug fix: variables in an index should be marked as used
Closes #2848
|
2023-11-19 14:50:43 +09:00 |
|
Hajime Hoshi
|
6d18367f52
|
.github: add Patreon account
|
2023-11-19 03:32:54 +09:00 |
|
Hajime Hoshi
|
acd317bf91
|
internal/ui: bug fix: wrong for-loop condition
Closes #2847
|
2023-11-18 20:01:24 +09:00 |
|
Weilin Shi
|
058973adda
|
examples/drag: remove duplicated calls (#2846)
|
2023-11-18 19:52:42 +09:00 |
|
Hajime Hoshi
|
ca8a2896b4
|
text/v2: performance optimization by using image.RGBA
Apparently, image.RGBA doesn't use the slow path at draw.Draw, which
is called from a rasterizer's Draw.
Updates #2454
|
2023-11-17 13:14:12 +09:00 |
|
Hajime Hoshi
|
4755da6a08
|
text/v2: performance optimization by caching glyph bounds
Updates #2454
|
2023-11-17 13:07:59 +09:00 |
|
Hajime Hoshi
|
2a1eac3b73
|
examples/font: use text/v2
Updates #2454
|
2023-11-17 13:07:55 +09:00 |
|
Hajime Hoshi
|
147175d400
|
text/v2: rename LineHeight -> LineSpacingInPixels
Updates #2454
|
2023-11-17 01:19:05 +09:00 |
|
Hajime Hoshi
|
e7fa9d50de
|
text/v2: refactoring
|
2023-11-17 00:12:17 +09:00 |
|
Hajime Hoshi
|
9fa60e1656
|
examples/flappy: adjust text layouts
|
2023-11-16 23:03:32 +09:00 |
|
Hajime Hoshi
|
3d1df32f43
|
ebiten: bug fix: wrong screenshot file names
Closes #2844
|
2023-11-16 22:58:38 +09:00 |
|
Hajime Hoshi
|
3635b67f31
|
examples/flappy: use text/v2
Updates #2454
|
2023-11-16 22:49:51 +09:00 |
|
Hajime Hoshi
|
a749f6fbc3
|
examples/blend: use text/v2
Updates #2454
|
2023-11-16 22:18:56 +09:00 |
|
Hajime Hoshi
|
cec8017ebe
|
all: update dependencies
|
2023-11-16 13:53:55 +09:00 |
|
Hajime Hoshi
|
83fc5fdd50
|
go mod tidy
|
2023-11-16 13:52:57 +09:00 |
|
Hajime Hoshi
|
68d5fa46e2
|
text/v2: add variations to glyph cache keys
|
2023-11-16 13:15:51 +09:00 |
|
Hajime Hoshi
|
c7843a4e2b
|
text/v2: make glyphVariationCount more flexible
Updates #2843
|
2023-11-16 12:49:34 +09:00 |
|
Hajime Hoshi
|
8352be9369
|
text/v2: increase the soft limit of the glyph cache if the face is small
Updates #2843
|
2023-11-16 12:07:15 +09:00 |
|
Hajime Hoshi
|
2e60c67ec9
|
text/v2: improve rendering quality for small faces
Closes #2843
|
2023-11-16 12:02:50 +09:00 |
|
Hajime Hoshi
|
006777220c
|
examples/piano: use text/v2
Updates #2454
|
2023-11-16 02:20:18 +09:00 |
|
Hajime Hoshi
|
bf338eb76b
|
examples/ui: use a sub-image instead of a buffer image
|
2023-11-15 23:05:43 +09:00 |
|
Hajime Hoshi
|
2641f65863
|
examples/ui: use text/v2
Updates #2454
|
2023-11-15 23:03:06 +09:00 |
|
Hajime Hoshi
|
9c95b4accc
|
examples/block: use text/v2
|
2023-11-15 22:38:28 +09:00 |
|
Hajime Hoshi
|
acd5207142
|
examples/text: use GoTextFace
|
2023-11-15 22:01:29 +09:00 |
|
Hajime Hoshi
|
b2c45a369a
|
text/v2: remove the suffix 'InPixels'
Now all the units are pixels, the suffix is redundant.
Updates #2454
|
2023-11-15 21:53:58 +09:00 |
|
Hajime Hoshi
|
a612b3c861
|
text/v2: reduce members in structs
|
2023-11-15 14:38:03 +09:00 |
|
Hajime Hoshi
|
586a4b6d6e
|
all: rename sizeInPoints -> sizeInPixels
|
2023-11-15 14:03:22 +09:00 |
|
Hajime Hoshi
|
f2180a5dc5
|
text/v2: rename SizeInPoints -> SizeInPixels
|
2023-11-15 13:14:36 +09:00 |
|
Hajime Hoshi
|
5fa2c00014
|
examples/texti18n: adjust positions and texts
|
2023-11-15 12:46:06 +09:00 |
|
Hajime Hoshi
|
4694b78d54
|
text/v2: refactoring
|
2023-11-15 12:34:02 +09:00 |
|
Hajime Hoshi
|
5354ccc44f
|
examples/2048: use text/v2
Also, this changes fixes a bug in (*text/v2.GoTextFace).Metrics.
Updates #2454
|
2023-11-15 12:28:39 +09:00 |
|
Hajime Hoshi
|
3080d361ec
|
examples/texti18n: remove unnecessary variables
|
2023-11-15 03:54:19 +09:00 |
|
Hajime Hoshi
|
c24ade7af9
|
examples/texti18n: bug fix: wrong language was specified
|
2023-11-15 03:43:27 +09:00 |
|
Hajime Hoshi
|
fe35180b78
|
text/v2: implement GoTextFace
Closes #675
Updates #2143
Updates #2454
|
2023-11-15 03:40:45 +09:00 |
|
Hajime Hoshi
|
46600b42f9
|
text/v2: swap the arguments of Advance for consistency
|
2023-11-15 03:18:23 +09:00 |
|