Hajime Hoshi
1514749041
examples/text: remove a dependency on math/rand
2023-06-25 01:33:25 +09:00
Hajime Hoshi
7791ae3029
examples/text: bug fix: go-vet error
2023-06-10 19:29:14 +09:00
Hajime Hoshi
911cf0c48c
text: deprecate BoundString
...
After we found a correct definition of the term 'dot', BoundString seems
less useful than expected. In order to adjust the position of a text, we
should use a face's Metrics and a string's advance (font.MeasureString).
2023-06-10 19:21:04 +09:00
Hajime Hoshi
8bd7ce5c20
vector: add anti-alias options to the utility functions
...
Closes #2606
2023-03-18 11:01:48 +09:00
Hajime Hoshi
a042af98b1
text: improve rendering quality with HintingVertical
...
When HintingVertical is used, the interval between two glyphs is not
quantized (i.e. not a whole pixel). The text package didn't consider
this situation.
This change improves the quality by using more various glyph images
with 1/4 pixels granularity in vertical direction.
Closes #2469
2022-11-25 16:45:37 +09:00
Hajime Hoshi
156c34a316
ebiten: separate a package for ColorM: colorm
...
Closes #2171
2022-11-08 23:50:04 +09:00
Artem Yadelskyi
86e694941f
examples: remove example
build tag ( #2433 )
...
Closes #1462
2022-11-03 20:24:09 +09:00
Artem Yadelskyi
5b53cef59e
all: remove old // +build
comments ( #2431 )
...
Closes #2325
2022-11-03 12:55:14 +09:00
Hajime Hoshi
6ba14fdb00
vector: rename functions
...
Fill* was confusing especially when the color is a transparent color.
Closes #2403
2022-10-22 20:29:31 +09:00
Hajime Hoshi
6f7b1a81d7
vector: add StrokeLine
, FillRect
, and StrokeRect
...
Updates #2387
2022-10-21 22:35:01 +09:00
Hajime Hoshi
f7c44f086f
replace Ebiten with Ebitengine in comments
2022-08-29 11:17:17 +09:00
Hajime Hoshi
d58ef294b2
examples/text: add leading space characters
2022-04-04 00:18:35 +09:00
Hajime Hoshi
732b125349
text: Add AppendGlyphs and Glyphs
...
Closes #1767
Closes #1871
2021-11-12 02:31:53 +09:00
Hajime Hoshi
4509f2aee4
text: Add FaceWithLineHeight
...
Closes #1760
2021-09-12 22:56:14 +09:00
Hajime Hoshi
656d9dccc0
text: Add DrawWithOptions
...
Closes #1461
2021-07-27 17:36:21 +09:00
Hajime Hoshi
a615be69c7
examples: Add //go:build
2021-06-24 21:49:37 +09:00
Hajime Hoshi
47065f5f2c
Remove supporting jsgo
...
Updates #1129
2020-10-07 00:46:07 +09:00
Hajime Hoshi
8f00c8fbf5
ebiten: Remove the argument from Update
...
Fixes #1260
2020-10-04 19:33:10 +09:00
Hajime Hoshi
bf515bb594
Update version to v2.0.0-alpha
2020-10-04 04:30:40 +09:00
Hajime Hoshi
eb38324021
examples: Use golang.org/x/image/font/opentype
...
Fixes #484
2020-10-03 23:14:09 +09:00
Hajime Hoshi
42fe708263
Revert "examples/text: Use golang.org/x/image/font/opentype"
...
This reverts commit 013a42ddb8
.
Reason: #1377
2020-10-03 20:24:05 +09:00
Hajime Hoshi
013a42ddb8
examples/text: Use golang.org/x/image/font/opentype
...
Updates #484
2020-09-28 02:25:01 +09:00
Hajime Hoshi
0b3f846b47
examples/text: Update the title
2020-07-30 03:11:06 +09:00
Hajime Hoshi
481c160c2a
text: Replace MeasureString with BoundString
...
Fixes #1272
2020-07-30 00:51:10 +09:00