Comments (2)
One additional comment on the example is that they don't follow regular cargo examples structure. Although examples are a top-level folder, the following fails:
cargo run --example terminal
it says there are no example named terminal
, because on the main Cargo.toml examples are included as members of the workspace, which works of course, but creates a a learning curve by not following the standard cargo structure for examples.
Just for reference, to run example you need:
cargo run --package terminal
from cosmic-text.
I am also having issues running the example on MacOS. the terminal
one was the only one that worked.
editor-orbclient
failed with[2023-02-22T21:11:20Z ERROR editor_orbclient] failed to load "": No such file or directory (os error 2)
editor-libcosmic
failed because the wayland dependency failed to compile (looks to be linux only).editor-test
failed with
thread 'main' panicked at 'assertion failed: `(left == right)`
left: `Cursor { line: 0, index: 1, affinity: Before }`,
right: `Cursor { line: 0, index: 1, affinity: After }`', examples/editor-test/src/main.rs:104:17
from cosmic-text.
Related Issues (20)
- Getting bounding box of text after layout HOT 1
- Incorrect glyph information for emojis on Windows 11
- Why is the `y_offset` negated? HOT 2
- Urdu numerals display with Persian glyphs HOT 3
- Buffer.layout_cursor reports incorrectly on visual line breaks HOT 3
- Line wrapping/text reflow does not respect buffer size HOT 6
- A case of erroneous glyph placement by the swash scaler HOT 5
- Advanced shaping very slow in debug mode
- Characters can cut each other off during rasterization HOT 3
- Emoji issues
- Can't set font features and variations HOT 1
- The `prune` parameter to `shape_until_scroll` is not documented
- Consider renaming `BufferLine` to `Paragraph` or `BufferParagraph`
- Potential weirdness with non-text characters HOT 4
- Unexpected font selection with named + weight differences HOT 3
- Android: Load fonts from /system/fonts by default? HOT 3
- Buffer::set_text seems very slow? HOT 1
- Slow loading of monospace fonts HOT 7
- Bug: tabs being rendered as oval symbols in cosmic-edit HOT 8
- Whitespace isn't wrapped correctly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cosmic-text.