Insert, draw letters from coordinates into PDF

Discussion in 'PHP' started by matbaric, Aug 31, 2010.

  1. #1
    Hi! Every help would be most appreciated! I am working on a module (php or java which one is easier don’t mind as it will be used as service) whose task is to insert letters from box file into pdf. One of solutions is to convert this .box file (which I will explain later) first into some kind of xml and then into pdf or convert .box file with coordinates into pdf immediately.
    .Box file looks like this:
    V 558 4211 612 4247
    T 233 4078 329 4199
    R 330 4078 422 4198
    O 425 4078 534 4199
    S 538 4077 624 4198
    and so on and so on…
    V – is the letter that must be inserted into pdf
    558 – coordinate for left edge of letter
    4211 – bottom edge coordinate of letter
    612 – coordinate for right edge of letter
    4247 - coordinate for top edge of letter

    My first question is which PL to use Java or PHP, and the second one any ideas how to do it.
    Thanx in advance.
     
    matbaric, Aug 31, 2010 IP