Comments (3)
Some how your typography is out of date.
Last change was 23 days ago.
from fidget.
no
$ nimble install typography
Downloading https://github.com/treeform/typography using git
Verifying dependencies for [email protected]
Warning: No nimblemeta.json file found in C:\Users\USER.nimble\pkgs\wxnim-0.8.0
Info: Dependency on flippy@>= 0.4.4 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on vmath@>= 0.1.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on chroma@>= 0.0.1 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on print@>= 0.1.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on nimPNG@>= 0.2.6 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on snappy@>= 0.1.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on vmath@>= 0.3.1 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on chroma@>= 0.0.1 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on print@>= 0.1.0 already satisfied
Verifying dependencies for [email protected]
Installing [email protected]
Success: typography installed successfully.
$ git clone https://github.com/treeform/fidget
Cloning into 'fidget'...
remote: Enumerating objects: 239, done.
remote: Counting objects: 100% (239/239), done.
remote: Compressing objects: 100% (150/150), done.
imalReceiving objects: 13% (561/4261), 892.01 KiB | 48.00 KiB/s
remote: Total 4261 (delta 110), reused 171 (delta 65), pack-reused 4022
Receiving objects: 100% (4261/4261), 12.11 MiB | 98.00 KiB/s, done.
Resolving deltas: 100% (2686/2686), done.
$ cd fidget/examples/minimal
$ nim c -r minimal.nim
Hint: used config file 'E:\msys64\home\LOVLJIDY_nim\nim\config\nim.cfg' [Conf]
Hint: used config file 'E:\msys64\home\LOVLJIDY_nim\nim\config\config.nims' [Conf]
Hint: used config file 'R:\fidget\config.nims' [Conf]
Hint: used config file 'R:\fidget\examples\config.nims' [Conf]
.....................................................................................
R:\fidget\src\fidget\openglbackend.nim(31, 25) Error: type mismatch: got <Font, seq[Rune], pos: Vec2, size: Vec2, HAlignMode, VAlignMode, clip: bool, boundsMin: Vec2, boundsMax: Vec2>
but expected one of:
proc typeset(font: Font; runes: seq[Rune]; pos: Vec2 = vec2(0, 0);
size: Vec2 = vec2(0, 0); hAlign: HAlignMode = Left; vAlign: VAlignMode = Top;
clip = true; tabWidth: float32 = 0.0): seq[GlyphPosition]
first type mismatch at position: 8
unknown named parameter: boundsMin
proc typeset(font: Font; text: string; pos: Vec2 = vec2(0, 0); size: Vec2 = vec2(0, 0);
hAlign: HAlignMode = Left; vAlign: VAlignMode = Top; clip = true;
tabWidth: float32 = 0.0): seq[GlyphPosition]
first type mismatch at position: 2
required type for text: string
but expression 'toRunes(node.text)' is of type: seq[Rune]
expression: typeset(font, toRunes(node.text), pos = vec2(0, 0), size = size,
hAlignMode(node.textStyle.textAlignHorizontal),
vAlignMode(node.textStyle.textAlignVertical), clip = false,
boundsMin = boundsMin, boundsMax = boundsMax)
from fidget.
I think you have fidget installed through nimble as well that is out of date.
try nimble develop
in the cloned fidget folder.
Maybe try git clone https://github.com/treeform/typography
and nimble develop
in that folder too?
from fidget.
Related Issues (20)
- Reverse the order?
- [Question] Complex input? HOT 5
- Password field HOT 1
- Duplicate union type member
- Not able to draw in memory image HOT 1
- README update to resolve dependency issues on Debian/Ubuntu based distros HOT 1
- Tab in Text Not Usable HOT 1
- Figma Plugin needs update HOT 1
- issue report about Figma export ability HOT 3
- Support for min/max constraints HOT 2
- 🐞 : Unable to run examples, requires force install of `typography@#HEAD` HOT 4
- 🐞 : Unhandled exception HOT 2
- No html file generated HOT 6
- "Manifest error: Missing editorType in manifest" when trying to add fidget-plugin HOT 2
- HiDPI (& fracional) support?
- Undeclared idientifier: laInherit
- Text editor concept
- Fidget status? HOT 2
- Missing Linux Wayland support
- putting video stream in a control HOT 1
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 fidget.