tynet-lichat/shirakumo - IRC Chatlog
Search
7:40:30
shinmera
|3b|: How do you feel about making the kerning table key on integers instead? Can compute the key via (+ (char-code lhs) (ash (char-code rhs) 21))
13:02:39
selwyn
i have been asked the following: 'is it a metroidvania or more like something like classic sidescrolling zelda/castlevania?'
14:26:01
|3b|
shinmera: i'd probably lean towards having that as an option (what is it keyed on currently?
14:27:20
shinmera
My proposition is this: make a KERNING function that takes two CHARACTERs and handle the lookup internally.
14:29:59
|3b|
ACTION was just wondering if it would be worthwhile having a flag in that to indicate if a particular char is the first of any kerning pairs
14:31:01
shinmera
I suppose that could be worth it. Sounds like a micro optimisation though vs changing the table keys to fixnums.
14:32:01
shinmera
Anything to procrastinate from having to figure out once again why layouting with labels that have line breaking requires multiple resizes to stabilise to a proper sizing information for the labels :v
14:51:32
shinmera
|3b|: Pushed some more stuff to the PR. The writers should be translated now to use the structs, too, and I added the kerning table optimisation.
15:58:47
shinmera
Of course, even getting a bloody test case together for this stupid Alloy layouting issue is a nightmare