Metadata-Version: 2.4
Name: textual-englyph
Version: 0.4.1
Summary: A Textual utility/widget to generate terminal images and styled, scalable text.
License: MIT License
Requires-Python: >=3.9
Requires-Dist: pillow>=10.4.0
Requires-Dist: textual>=1.0.0
Description-Content-Type: text/markdown

# Textual-EnGlyph
A large font rendering widget for the Textual platform.

# Requirements
For this to look good you will need a terminal emulator that supports Unicode and a font
that has glyphs for the Symbols for Legacy Computing block defined by Unicode version 16.0. 

## Known terminals
 - iTerm2 (OS X)
 - xfce4-Terminal (Linux)
 - Terminal (Windows)
 - ...and many more.

## Known terminal fonts
 - Cascadia Code https://github.com/microsoft/cascadia-code/, v 2404.3 or later
 - GNU Unifont http://savannah.gnu.org/projects/unifont/, v 16.0 or later 
 - Iosevka https://typeof.net/Iosevka/, v 13.9.1 or later

# Howto
This widget library is available as a python PyPi library. 

This HowTo recommends `uv` to manage your python environment,
see https://docs.astral.sh/uv/guides/ for using `uv`.

Run the default text use case...
as a module in your textual python app. Save the following simple example as `test.py`
```python
from textual.app import App, ComposeResult
from textual_englyph import EnGlyphText

class Test(App):
    '''Test CSS and console markup styling the basic englyph text use case'''
    DEFAULT_CSS = """
    EnGlyphText {
        color: green;
        text-style: underline;
        }
    """
    def compose(self) -> ComposeResult:
        yield EnGlyphText("Hello [blue]Textual!")

if __name__ == "__main__":
    app = Test()
    app.run()
```
and run it (use ctrl-q to exit)
```bash
uv run --with textual --with textual_englyph test.py
```
