Questions tagged [rendering]

Rendering refers to a computer program formatting data for display or printing.

Rendering refers to a computer program formatting data for display or printing.

Rendering occurs when a model is processed into a specific representation to interface from one system to another (usually human) one.

For example, converting text plus a font specification to points on a printed page, or converting 3-D model-data to onscreen pixels.

Typical applications that "render", as relevant to Stack Overflow:

  • Browsers
  • Graphics programs
  • Video drivers
  • Printer drivers
  • Video viewing and/or editing programs.

See, also, the Wikipedia article on rendering.

6826 questions
38
votes
3 answers

Describe the page rendering process in a browser?

First of all, I am not interested in the entire request-response process as addressed by this question What is the complete process from entering a url to the browser's address bar to get the rendered page in browser? I want to know what goes on…
pphanireddy
  • 1,109
  • 2
  • 12
  • 17
38
votes
5 answers

Mixing percent and fixed CSS

This is a duplicate from UI.StackExchange.com: https://ux.stackexchange.com/questions/1004/mixing-percent-and-fixed-css Should you ever apply percentage and fixed CSS together? Will it cause problems, and if so what kinds? Does mixing degrade…
rick schott
  • 21,012
  • 5
  • 52
  • 81
38
votes
5 answers

When does the transition from clip space to screen coordinates happen?

I was studying the rendering pipeline and when I got to the clipping stage it was explained that from the view (eye or camera) space we have to pass to the clip space, also called normalized device space (NDC), that is a cubic space from -1 to 1.…
StrG30
  • 670
  • 1
  • 10
  • 20
38
votes
12 answers

Firefox 1 pixel bug with border-collapse, workaround?

Is there any workaround for the following "1 pixel to the left" bug?
Vexatus
  • 880
  • 1
  • 7
  • 11
36
votes
2 answers

Render controller action from another controller

I think the code is more explicit option A class RedirectController < ApplicationController def index redirect_to :controller => 'posts', :action => 'show', :id => 1 # it works end end option B class RedirectController <…
user142913
  • 883
  • 1
  • 7
  • 14
36
votes
5 answers

How can I set a minimum width (in characters) for a TextView?

I've had a good search for this on here and can't find a solution. I have a TextView in a RelativeLayout which contains an integer number. The number will range between 1 and 99 - can anyone tell me how to size the TextView so that its width is…
If This Is Art
  • 643
  • 1
  • 8
  • 13
35
votes
7 answers

How do you determine if WPF is using Hardware or Software Rendering?

I'm benchmarking a WPF application on various platforms and I need an easy way to determine if WPF is using hardware or software rendering. I seem to recall a call to determine this, but can't lay my hands on it right now. Also, is there an easy,…
Charley Rathkopf
  • 4,720
  • 7
  • 38
  • 57
34
votes
5 answers

Where to specify image dimensions for fastest rendering: in HTML or in CSS?

I've learned that it is a best practice to explicitly specify image dimensions. The browser can then already layout the page while still downloading the images themselves, thereby improving (percieved) page rendering time. Is this true? And if so,…
Daan
  • 6,952
  • 4
  • 29
  • 36
33
votes
2 answers

Why jsfiddle is not rendering at all in IE8 and previous versions?

I tried to open http://jsfiddle.net/ in IE8 with BrowserMode-- IE8 and Document Mode--IE8 in developer tools. In other browsers it's working fine, and even in IE9 it's working fine. But I see javascript errors in IE8 and older versions of…
SRy
  • 2,901
  • 8
  • 36
  • 57
33
votes
1 answer

Custom Font in Android renders differently in different APIs

I am using a custom .ttf font in my android app. I load it the usual way: myTypeface = Typeface.createFromAsset( getAssets(), "myTypeface.ttf"); then I assign my typeface within my activity... pretty straightforward stuff: TextView tv = (TextView)…
benjamin davis
  • 680
  • 6
  • 12
32
votes
3 answers

Use a html renderer in an embedded environment

I'm working on a project where I will design a GUI for an embedded device and would love to go with HTML for this. I hope you guys can help me find a render engine that suits my needs. Requirements: The web-page must be rendered into a memory…
tkarls
  • 3,171
  • 3
  • 27
  • 27
32
votes
14 answers

What options are available for the layout of directed or undirected graphs in .NET?

By graph here I mean something resembling these images: The ideal solution would: use only managed code allow output to a bitmap image allow output to WPF elements include some kind of interactive surface for displaying the graph that supports…
Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
31
votes
8 answers

Emoji rendered in Chrome have different widths than in other browsers

I have a page with an emoji followed by a space and some text. For example, " Friends" (character is "busts in silhouette", U+1F465). In Safari and Firefox on macOS, it renders with a space between the emoji and the following text as expected. In…
30
votes
4 answers

How to solve BiDi bracket issues?

As you might know some languages are written/read from right to left and we are trying to support some RTL languages. For the web UI using dir="rtl" in html does most of the job thanks to algorithms that browsers have. But I came across this issue…
yusuf
  • 3,596
  • 5
  • 34
  • 39
30
votes
7 answers

How do browsers read and interpret CSS?

Two part question: Do browsers have a built-in CSS interpreter like they do for JavaScript? When exactly does a browser read the CSS and when does it apply the CSS? Specifically, I would like clarification on how or why JavaScript and CSS are…
Moses
  • 9,033
  • 5
  • 44
  • 67