Giter Site home page Giter Site logo

negativespacefont's People

Contributors

amberwat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

negativespacefont's Issues

[Question] space.-0,5 ?

Hi, I have come across a problem regarding custom characters with odd height.

2 characters of even height(e.g. 10) are spaced out by exactly 1 space. They can be snug perfectly together using "space.-1":
image

Using the same logic 2 characters of odd height(e.g. 9) are spaced out by 1,5 space. after using "space.-1" there's still 0,5 space left:
image (Ignore different vertical offset from the first image. Just different Ascent values)

In both scenarios the characters on the left are just entered after each other and on the right there's a "space.-1" between them
So basically I was wondering if there was a possibility to create something like "space.-0,5" to overcome this problem

[Question] Converting from scoreboard to width

So, in the readme you say using "font": "spaces:default" you can avoid a lookup table when having a score and wanting to have a dynamic width.

How exactly does that work though?
Let's say I have calculated I need a width of 134 spaces. So, I'd need to convert the 134 to 5568 (numbers in any order).

Is there an elegant formular for that? Or do you literally just do this in a loop until you get to 0?

execute if score foo bar matches 1..2 run scoreboard players add result bar 9
execute if score foo bar matches 1..2 run scoreboard players remove foo bar 1

execute if score foo bar matches 3..7 run scoreboard players add result bar 8
execute if score foo bar matches 3..7 run scoreboard players remove foo bar 3

execute if score foo bar matches 8..20 run scoreboard players add result bar 7
execute if score foo bar matches 8..20 run scoreboard players remove foo bar 8

execute if score foo bar matches 21..54 run scoreboard players add result bar 6
execute if score foo bar matches 21..54 run scoreboard players remove foo bar 21

execute if score foo bar matches 55..143 run scoreboard players add result bar 5
execute if score foo bar matches 55..143 run scoreboard players remove foo bar 55

execute if score foo bar matches 144..376 run scoreboard players add result bar 4
execute if score foo bar matches 144..376 run scoreboard players remove foo bar 144

execute if score foo bar matches 377..986 run scoreboard players add result bar 3
execute if score foo bar matches 377..986 run scoreboard players remove foo bar 377

execute if score foo bar matches 987..2583 run scoreboard players add result bar 2
execute if score foo bar matches 987..2583 run scoreboard players remove foo bar 987

execute if score foo bar matches 2584.. run scoreboard players add result bar add 1
execute if score foo bar matches 2584.. run scoreboard players remove foo bar add 2584

scoreboard players operation result bar *= 10 const
execute unless score foo bar matches 0 run function <this>

(and if it's negative start with -9 and add 6764 to foo bar)

Or is there a better way that I am not seeing?

Resource Pack not working ???

Hey, I using your resource pack and found it not working. The negative space not shown up and it just write the rectangle. Pls help

Minecraft Optifine G1_pre30 Ultra 1.15.2
GPU: Intel Graphic

LICENSE

I don't know much about licenses so my question is can I use the texture pack for my own adventure maps even if I publish them?
(with credits of course)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.