瀏覽代碼

Update README and outline some additional work

rexim 2 年之前
父節點
當前提交
9b563abbcb
共有 3 個文件被更改,包括 7 次插入3 次删除
  1. 4 3
      README.md
  2. 2 0
      src/free_glyph.c
  3. 1 0
      src/main.c

+ 4 - 3
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

+ 2 - 0
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)) {

+ 1 - 0
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