bugSilpa Indian Language Processing Project - Bugs: bug #29742, Simple Rendering of unicode text

 
 

bug #29742: Simple Rendering of unicode text

Submitter:  Vasudev Kamath <vasudev>
Submitted:  Sun 02 May 2010 07:49:28 AM UTC
   
 
Category:  Modules Severity:  1 - Wish
Item Group:  None Status:  Ready For Test
Privacy:  Public Assigned to:  santhosh
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 15 Apr 2011 01:22:04 PM UTC, comment #4: 

We had fixed this long time back
giving 0 for height and width auto calculates the size.
see http://silpa.org.in/Render

Santhosh Thottingal <santhosh>
Group administrator
Fri 22 Oct 2010 04:22:37 AM UTC, comment #3: 

Automatic height or width please. It will get annoying otherwise. At least automatic height would be very nice.

Laxminarayan Kamath <kamathln>
Thu 21 Oct 2010 05:13:07 PM UTC, comment #2: 
Santhosh Thottingal <santhosh>
Group administrator
Sun 02 May 2010 08:12:21 AM UTC, comment #1: 

allow to specify page width in terms of pixels and font size.

Calculate defaults using this pseudocode.

1) extract view related information from http headers.
    a) resolution
    b) dpi
    c) is device mobile or desktop?
2) check if resolution was passed. If yes, first is always width . use 80 or 95% of it as page width (remaining is margin)
3) if resolution was not mentioned .. check if device is mobile or desktop. If desktop, defualt width to 800 . else default width to 240
3) depending on dpi, scale up or down font size. else use some sane defaults depending on resolution and device type ( I am not so much expert to comment on that) 12 or 14 seems to be good choice for desktop and 6 to 8 seems to be good for mobile.

If you are really serious about this and want to take it further, you could probably get a  database of mobile devices wiith their resolution etc..

Laxminarayan Kamath <kamathln>
Sun 02 May 2010 07:49:28 AM UTC, original submission:  

Orginal idea by Laxminarayana Kamath and Santhosh

Scenario:
Some time we will be on a system which is not ours and system doesn't have a unicode font or so. May be the system is mobile device without proper font. We have some webpage or text with non legible fonts.

idea:
Pass the unicode text to server via RPC and server processes the text and sends back the rendered images so that user can view and read the text

Vasudev Kamath <vasudev>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by santhosh (Posted a comment)
  • -email is unavailable- added by kamathln (Posted a comment)
  • -email is unavailable- added by vasudev (Submitted the item)
  • -email is unavailable- added by vasudev
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-04-15 santhosh StatusIn Progress Ready For Test
        Open/ClosedOpen Closed
    2010-10-21 santhosh CategoryNone Modules
        StatusNone In Progress
        Assigned toNone santhosh
    2010-05-02 vasudev Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code