Skip to content

Commit

Permalink
Merge pull request blazium-engine#19 from merlin-engine/fontfix-for-exp
Browse files Browse the repository at this point in the history
Fontfix for exp
  • Loading branch information
Norrox authored Nov 22, 2024
2 parents 14bd852 + fafb81c commit 2ca9c55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Godot Engine
# Merlin Engine

<p align="center">
<a href="https://godotengine.org">
<img src="logo_outlined.svg" width="400" alt="Merlin Engine logo">
</a>
</p>

## 2D and 3D cross-platform game engine
## Merlin Egnine is a super experimental fork, i only take in all the new and interesting stuff!

**[Godot Engine](https://godotengine.org) is a feature-packed, cross-platform
**[Merlin / Godot Engine](https://godotengine.org) is a feature-packed, cross-platform
game engine to create 2D and 3D games from a unified interface.** It provides a
comprehensive set of [common tools](https://godotengine.org/features), so that
users can focus on making games without having to reinvent the wheel. Games can
Expand Down
6 changes: 3 additions & 3 deletions tests/scene/test_fontfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ TEST_CASE("[FontFile] Create font file and check data") {
ERR_PRINT_ON

// Load a valid file.
CHECK(font_file->load_dynamic_font("thirdparty/fonts/NotoSans_Regular.woff2") == OK);
CHECK(font_file->load_dynamic_font("thirdparty/fonts/Inter_Regular.woff2") == OK);

// Check fontfile data.
CHECK_MESSAGE(font_file->get_data().is_empty() == false, "Fontfile should have been loaded.");
CHECK_MESSAGE(font_file->get_font_name() == "Noto Sans", "Loaded correct font name.");
CHECK_MESSAGE(font_file->get_font_name() == "Inter", "Loaded correct font name.");
CHECK_MESSAGE(font_file->get_font_style_name() == "Regular", "Loaded correct font style.");
CHECK_MESSAGE(font_file->get_data().size() == 148480llu, "Whole fontfile was loaded.");
CHECK_MESSAGE(font_file->get_data().size() == 108488llu, "Whole fontfile was loaded.");

// Valid glyphs.
CHECK_MESSAGE(font_file->get_glyph_index(2, 'a', 0) != 0, "Glyph index for 'a' is valid.");
Expand Down

0 comments on commit 2ca9c55

Please sign in to comment.