bsski
b8df1217c3
all: fix typos ( #2864 )
2023-12-17 22:42:34 +09:00
BioErrorLog
d05afcbcfa
all: fix typos ( #2859 )
2023-12-08 13:35:52 +09:00
Hajime Hoshi
668124d25c
text/v2: add a non-image glyphs for index info
2023-12-05 20:06:06 +09:00
Hajime Hoshi
800835d081
Revert "text/v2: rename Glyph -> Cluster"
...
This reverts commit f0d23de3d3
.
Reason: Cluster doesn't represent a cluster but a part of a cluster.
2023-12-05 19:44:32 +09:00
Hajime Hoshi
f0d23de3d3
text/v2: rename Glyph -> Cluster
...
This also changes AppendClusters to return cluster info even if a
cluster doesn't have a glyph.
2023-12-05 18:00:30 +09:00
Hajime Hoshi
81e0e61a43
text/v2: let NewMultiFace return an error
...
Updates #2845
2023-12-04 01:16:47 +09:00
Hajime Hoshi
dfa058a961
text/v2: change the signature of NewMultiFace
...
Updates #2845
2023-12-02 22:51:37 +09:00
Hajime Hoshi
5790597a15
text/v2: add LimitedFace
...
Closes #2857
2023-12-02 16:01:28 +09:00
Hajime Hoshi
a6b4a7a2ac
text/v2: add NewMultiFace
...
Updates #2857
2023-12-02 14:56:03 +09:00
Hajime Hoshi
a444f2dd40
text/v2: replace Metrics.Height/Width with HLineGap and VLineGap
...
Updates #2454
2023-12-02 14:33:41 +09:00
Hajime Hoshi
b925f28104
text/v2: add MultiFace
...
Closes #2845
2023-11-26 03:32:22 +09:00
Hajime Hoshi
b9b365a576
text/v2: bug fix: Measure didn't work correctly with vertical faces
...
This also updates examples/texti18n to use text.Measure.
Updates #2143
Updates #2454
2023-11-23 23:25:10 +09:00
Hajime Hoshi
c4b16bec9b
text/v2: add an example for font variations
...
Updates #2454
2023-11-23 22:30:13 +09:00
Hajime Hoshi
b1bd03329e
examples/fontfeature: improve a text
2023-11-23 19:30:03 +09:00
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
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
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
Weilin Shi
058973adda
examples/drag: remove duplicated calls ( #2846 )
2023-11-18 19:52:42 +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
9fa60e1656
examples/flappy: adjust text layouts
2023-11-16 23:03:32 +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
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
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
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
Hajime Hoshi
ea1d9dde4e
text/v2: add LayoutOptions
...
Now AppendGlyphs can treat multiple lines and alignments.
2023-11-13 23:47:37 +09:00
Hajime Hoshi
cca4e78651
examples/text: add an example to use alignments of text/v2
...
Closes #2143
2023-11-13 23:02:15 +09:00
Hajime Hoshi
56faf34932
examples/text: adjust the rendering position
...
text/v2's Draw uses the given position as the upper-left position
of the bounds by default, while text (v1) uses the given position
as the origin position. In order to approximate the same result of
the original text version, adjust the Y values.
Updates #2454
2023-11-13 01:37:36 +09:00
Hajime Hoshi
b8b8b16098
all: add text/v2
...
This change adds some basic APIs incuding StdFace.
GoTextFace will be added later.
Updates #2454
2023-11-12 17:04:25 +09:00
Hajime Hoshi
3ca6184294
ebiten: add a new FillRule: NonZero
...
Closes #2782
2023-11-06 12:11:38 +09:00
Hajime Hoshi
c01ceeaa6a
ebiten: replace (*Image).Dispose with Deallocate
...
Closes #2808
2023-11-03 17:45:39 +09:00
Hajime Hoshi
f6ffd86ca8
examples/drag: refactoring
2023-10-28 00:10:15 +09:00
Hajime Hoshi
a7b87fddb4
examples/drag: use image.Alpha to detect user interaction
2023-10-27 10:04:11 +09:00
Hajime Hoshi
630789757f
all: add files for PlayStation 5
...
The implementation is WIP.
Updates #2799
2023-10-16 00:54:08 +09:00
Hajime Hoshi
dce18d7c23
internal/ui: bug fix: SetWindowIcon(nil) didn't reset the window icon
...
Closes #2796
2023-09-30 02:46:40 +09:00