Kanbaru 🌟 (one hikari of too many)

A screenshot showing several windows. One is the iPhone Simulator running an app with a white background and several instances of a 3DCG emoticon (of a cartoon face with a huge grin and sunglasses making a thumbs-up gesture), plus various pieces of text like “the future”, “hello, world” and “perhaps the ending has not yet been written”. Each image or piece of text has a different position, scale, opacity, color or background colour. There is then another window, this one for touchHLE, containing an almost identical rendering, except for the font and text alignment being slightly different, text not being truncated with an ellipsis, and the status bar being absent.
2 replies →
2 replies

James Harvey

(replying to Kanbaru 🌟 (one hikari of too many))

@hikari that test app is beautiful lol

Kanbaru 🌟 (one hikari of too many)

(replying to James Harvey)

@jmshrv thanks :coolguy:

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

@jmshrv the particular “beauty” it has is entirely necessary: by combining clashing elements in bad ways i can check that blending, scaling, and so on work properly :)


Saagar Jha

(replying to Kanbaru 🌟 (one hikari of too many))
@hikari Do you support attributed strings

Kanbaru 🌟 (one hikari of too many)

(replying to Saagar Jha)

@saagar not yet :coolguy:

Saagar Jha

(replying to Kanbaru 🌟 (one hikari of too many))
@hikari I hope you like rendering HTML

Kanbaru 🌟 (one hikari of too many)

(replying to Saagar Jha)

@saagar i will simply not support it :coolguy:

Saagar Jha

(replying to Kanbaru 🌟 (one hikari of too many))
@hikari I’m going back in time to inject -[NSAttributedString initWithHTML:documentAttributes:] calls into popular apps

Kanbaru 🌟 (one hikari of too many)

(replying to Saagar Jha)

@saagar you know, i think i might prefer having (very basic) support for NSAttributedString to having to support UIWebView…

Saagar Jha

(replying to Kanbaru 🌟 (one hikari of too many))
@hikari Did you know that the original iPhone did text rendering using WebKit

Kanbaru 🌟 (one hikari of too many)

(replying to Saagar Jha)

@saagar oh, that makes a lot of sense actually.

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

@saagar something I've learned from this project is that web apps and native apps on the iPhone were not so distant from eachother. Apple's idea of doing everything as a web app isn't that bad

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

@saagar someone will say “but the web is slow!”, but WebKit is written in C++ rather than Objective-C so,