5
votes
How does the Arabic typographic layout system work at a high level?
I figured it out. Took me all day but got the alignment pretty decent for that.
What I did was convert a font to SVG, manually copy-paste out the glyphs into JavaScript. Import each one individually ...
4
votes
Accepted
Is JavaScript added and executed in parsing or in rendering?
It's a bit more complicated, as JavaScript execution is interleaved with the normal lifecycle of the page.
First, the browser must parse the HTML code into the Document Object Model. When the parser ...
3
votes
What could cause a bug to be "Person-Dependent"?
If it's not difference in hardware, software, or execution of the steps then obviously something non-deterministic is happening and Murphy is having a bit of fun at your expense.
I once spent an ...
3
votes
Rails - Does using partials slow views rendering?
Even if you have no n+1 problem and do all the database work up front (say with a recursive CTE), nested partials are still very slow. Haml and Erb both look slow to me. On Rails 5.1.4 I'm seeing a ...
2
votes
What's the prefer way to construct a personal blog render system, SSR or prerender or anything else?
Server-side rendering is definitely a good choice.
For one of the projects where I was involved SSR was not an option because our SPA framework didn't support it. So we came with a solution which is ...
2
votes
Should an entity know how to render itself or is it renderers job to figure out how to draw an Entity?
The answer depends very much on the node's purpose.
If the node is a graphical entity solely meant for drawing (e.g. a geometric shape), then there is no problem for the object to draw itself like you ...
1
vote
Accepted
Why do HTML and JS feel slow on smartphones? What could be changed to make them faster?
It's not really to do with HTML itself, and especially not XHTML, but four things:
the document layout is dynamically computed at runtime based on the size of the device viewport.
the attributes (...
1
vote
Server side rendering of third party updated html components
A component that's activated by a script tag will be written in javascript and designed to run in a browser. It will typically work by modifying the DOM, which is how the browser manages the content ...
1
vote
How does the Arabic typographic layout system work at a high level?
Letters in arabic can use different glyphs as you saw (to make it possible to connect cleanly with other letters), and glyphs don't have a fixed shape - certain glyphs can and will be stretched for ...
1
vote
Accepted
What is the best unit of measurement for drawing with user scripts?
What behavior do you want? From your concern about devices, I am guessing you want some level of portability.
What is the case use? There could be more sensible for different use cases (e.g.for photo ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
rendering × 23design × 4
architecture × 4
html × 4
c++ × 3
graphics × 3
parsing × 2
css × 2
xml × 2
browser × 2
3d × 2
fonts × 2
object-oriented × 1
algorithms × 1
database × 1
javascript × 1
unit-testing × 1
web-development × 1
programming-languages × 1
web-applications × 1
mvc × 1
performance × 1
android × 1
optimization × 1
ruby × 1