Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
drdnar committed Mar 8, 2019
1 parent 0401e7c commit 25d2f29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 41 deletions.
44 changes: 4 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# FontsC
# FontLibC

FontsC is a library providing better text support for C programs on eZ80
FontLibC is a library providing better text support for C programs on eZ80
TI graphing calculators.

* It supports variable-width glyphs up to 24 bits wide of any height.
* It supports variable-width glyphs up to 24 pixels wide of any height.
* It supports basic metrics needed for improved text layout and supports
italic/oblique text by not fully advancing the cursor.
* It depends on GRAPHX's LCD mode. However, it does not directly call any
Expand All @@ -15,42 +15,6 @@ together and tagging with metadata.


## TODO
* SetWindow
* SetWindowFullScreen
* GetWindow
* SetCursorPosition
* GetCursorX
* GetCursorY
* ShiftCursorPosition
* SetForegroundColor
* SetBackgroundColor
* SetColors
* GetForegroundColor
* GetBackgroundColor
* GetColors
* SetTransparencyMode
* GetTransparencyMode
* NewLine
* ClearEOL
* DrawGlyph
* DrawGlyphTransparent
* DrawText
* GetGlyphWidth
* GetStringWidth
* SetCurrentFont
* GetCurrentFont
* GetGlyphWidthInFont(raw_font*, char glyph)


Data:
* Text box
** Top
** Bottom
** Left
** Right
* Colors
** Foreground
** Background
** Make transparent


* SetNewlineOptions
2 changes: 1 addition & 1 deletion src/testprgm/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void main(void) {
fontlib_SetLineSpacing(2,4);

fontlib_SetFont(test_font, 0);
fontlib_DrawGlyph('s');
fontlib_DrawGlyph('*');
fontlib_DrawString("Hello, World!\nThe quick brown fox jumps over the lazy dog. Jack Dawes loves my big sphinx of quartz. ");

/* Pause */
Expand Down

0 comments on commit 25d2f29

Please sign in to comment.