commit 9b563abbcb4e8cf3fea942065097c8a7b18d85bd
parent 14ba265c61a9e084d8c47ad0800fb3e1614b5883
Author: rexim <reximkut@gmail.com>
Date: Fri, 17 Feb 2023 11:33:24 +0700
Update README and outline some additional work
Diffstat:
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
@@ -14,7 +14,7 @@
```console
$ ./build.sh
-$ ./ded src\main.c
+$ ./ded src/main.c
```
## Windows MSVC
@@ -25,6 +25,7 @@ $ ./ded src\main.c
> .\ded.exe src\main.c
```
-# Font
+# Fonts
-Victor Mono: https://rubjo.github.io/victor-mono/
+- Victor Mono: https://rubjo.github.io/victor-mono/
+- Iosevka: https://github.com/be5invis/Iosevka
diff --git a/src/free_glyph.c b/src/free_glyph.c
@@ -4,6 +4,8 @@
void free_glyph_atlas_init(Free_Glyph_Atlas *atlas, FT_Face face)
{
+ // TODO: Introduction of SDF font slowed down the start up time
+ // We need to investigate what's up with that
FT_Int32 load_flags = FT_LOAD_RENDER | FT_LOAD_TARGET_(FT_RENDER_MODE_SDF);
for (int i = 32; i < 128; ++i) {
if (FT_Load_Char(face, i, load_flags)) {
diff --git a/src/main.c b/src/main.c
@@ -25,6 +25,7 @@
// Needed when ded is ran without any file so it does not know where to save.
// TODO: Jump up/down by paragraph
+// TODO: An ability to create a new file
// TODO: Delete a word
// TODO: Delete selection