GitXplorerGitXplorer
d

swash_demo

public
34 stars
8 forks
4 issues

Commits

List of commits on branch master.
Verified
55aedbc8604201f1b4925e2b986db59b838dc062

Add command to dump glyph clusters

ddfrg committed 3 years ago
Verified
bd6c3ba414390350cfd07d5dec910d42ff3b8789

Update README.md

ddfrg committed 3 years ago
Verified
5e4e79d3e8dde7ed742b44d37e4d681bf7104bf1

Create LICENSE

ddfrg committed 3 years ago
Verified
9077fe834addefb7b59c2a2cd6fc8b857d7af4ac

Update README.md

ddfrg committed 3 years ago
Verified
d08ced5f1e92b62cd637415c1f66c440d737b31b

oops

ddfrg committed 3 years ago
Unverified
586f4e094a3245189da0f66bc108f16a572aa89d

hello

ddfrg committed 3 years ago

README

The README file for this repository.

Demo for the swash crate

See the swash repo or crate for the actual project.

This is a chunk of very rough code. It's essentially a packed up version of my own personal playground I've been using for testing swash throughout development. You will break it. It will crash. You are likely to be eaten by a grue.

It was tested most recently (as in, just before release) on a Mac. So you'll have the best luck there. It will probably work on Windows. I have no idea if it still works on Linux, but if not, feel free to file issues and I'll take a look. Linux hasn't received much focus as of yet, but I do consider it a priority platform for the project. (Note that swash itself has zero platform specific dependencies and works perfectly well on Linux or any other OS)

If you don't feel up to running it, or (more likely) it won't run, check out the swash_and_textedit.png screenshot in the repo root.

This currently requires OpenGL 4.1.

Usage

cargo run --release

Keys:

  • F1: toggle dark and light modes
  • F2: left align
  • F3: center align
  • F4: right align

If you're brave and really want to break it, basic editing does "work". Arrow keys, selection, cut, copy, paste, etc.