Commit Graph

40 Commits

Author SHA1 Message Date
Hajime Hoshi
f57703175e text/v2: rename LineSpaceInPixels -> LineSpace for consistency
Updates #2454
2023-12-24 15:06:19 +09:00
Hajime Hoshi
2a1eac3b73 examples/font: use text/v2
Updates #2454
2023-11-17 13:07:55 +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
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
f7c44f086f replace Ebiten with Ebitengine in comments 2022-08-29 11:17:17 +09:00
Hajime Hoshi
0f52381580 ebiten: rename TPS functions
* SetMaxTPS() -> SetTPS()
* MaxTPS() -> TPS()
* CurrentTPS() -> ActualTPS()
* CurrentFPS() -> ActualFPS()

Closes #2071
2022-07-17 11:30:12 +09:00
Hajime Hoshi
063960c9bd examples/font: simplify the logic 2022-04-09 16:08:20 +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
92c0d8da7e Revert "examples/font: Use golang.org/x/image/font/opentype"
This reverts commit 7b3294064d.

Reason: #1377
2020-10-03 20:25:57 +09:00
Hajime Hoshi
7b3294064d examples/font: Use golang.org/x/image/font/opentype
Updates #484
2020-09-28 02:20:14 +09:00
Hajime Hoshi
481c160c2a text: Replace MeasureString with BoundString
Fixes #1272
2020-07-30 00:51:10 +09:00
Hajime Hoshi
6529629d29 examples: Use RunGame
Updates #1111
2020-04-12 20:30:51 +09:00
Hajime Hoshi
2923bec0dc examples: Use TPS instead of FPS to indicate how fast the app works 2018-09-30 02:27:33 +09:00
Hajime Hoshi
e99f2f9f69 ui: Rename TPS -> MaxTPS 2018-07-17 22:41:27 +09:00
Hajime Hoshi
16c6ab4d07 ui: Introduce DefaultTPS and deprecate FPS 2018-07-17 02:07:03 +09:00
Hajime Hoshi
3cd9dfd800 Rename IsRunningSlowly to IsDrawingSkipped
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
eecb04eaea examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
Hajime Hoshi
cff14cbbd4 example: Embed resources (#552) 2018-03-14 03:13:46 +09:00
Hajime Hoshi
4f3682a130 examples: Add comments 2018-01-28 20:10:50 +09:00
Hajime Hoshi
2f6953ff7f examples/font: Refactoring 2017-07-20 02:22:58 +09:00
Hajime Hoshi
b58d8bb996 text: Swap arguments face and text 2017-07-20 02:20:15 +09:00
Hajime Hoshi
20a43a88e8 text: Remove 'lineHeight' argument 2017-07-17 06:42:48 +09:00
Hajime Hoshi
a2adda1ab6 examples/font: Change the import order 2017-07-17 04:58:45 +09:00
Hajime Hoshi
4b4292a856 examples/font: Show more Kanji characters 2017-07-17 01:54:30 +09:00
Hajime Hoshi
1e84e21857 Add 'text' package (#363) 2017-07-17 01:54:24 +09:00
Hajime Hoshi
a657cac229 examples: Call IsRunningSlowly (#354) 2017-05-16 10:35:58 +09:00
Hajime Hoshi
ef8da64680 examples: Remove unnecessary checks of returning values 2017-03-04 23:24:54 +09:00
Hajime Hoshi
7410a9d814 Add example tags again
This reverts commit 7a1d63fb02.
2016-08-26 00:40:39 +09:00
Hajime Hoshi
7a1d63fb02 Revert example tags 2016-08-17 23:33:31 +09:00
Hajime Hoshi
12732d3302 examples: Add example tag 2016-08-17 22:52:51 +09:00
Hajime Hoshi
348e11ac1b examples/font: Simplify 2016-08-16 02:42:06 +09:00
Hajime Hoshi
8f1b7a2d0c examples: Add error checks 2016-08-03 10:57:50 +09:00
Hajime Hoshi
855bad4cb3 examples/font: Fix a comment 2016-04-11 11:56:31 +09:00
Hajime Hoshi
1b86bb9889 examples/font: Add an English sentence 2016-03-21 23:25:17 +09:00
Hajime Hoshi
dc933b88f8 Add examples/font (#77) 2016-03-21 21:09:31 +09:00