Skip to main content

PDF Chinese PHP and Python

The power of python release on its multi-lingual Capability, limitless generation of report.

When I was newbie in PHP I've tried to create a pdf using EZPDF, after years of experience, one of my project needs a report with Chinese font, I tried googling PHP PDF CHINESE, but I didn't find and correct output.

I remember my python experience generating a report using reportlab in python known to be the powerful pdf generating tools. And it works fine I can generate Chinese PDF without hassle. Wow it was great. For those who need some guide line on how to do it just dron an email to me.

Needs
Python 2.0 or higher
Reportlab

Comments

marcus said…
hey a while back (January 3rd, 2009 at 2:41) you (Efren Valdez) wrote on this site:

http://www.robertnyman.com/2006/10/31/firefox-and-safari-implement-the-zoom-feature/

the following question:

"is there any way to disable this feature (zoom) on java script or CSS? coz it sax, specially on using AJAX."

i've been looking for this same solution. that is, i am posting screen shots on simple web pages so a client can review the layout before i put it to code. on mac's the image looks fine, but on some pc's the image seems blown up maybe 130% or so, messing things up and not looking professional. so the question is, is there any css i can use to prevent browsers from causing the image (and the entire page) from zooming in? the only code i've found so far is this:

style="max-width:1264px;max-height:1470px;

which is the size of the screen shot image. i don't want the image to exceed 1264x1470 pixels that is, but on some pc's the browser is ignoring this css and making the image larger. or is it making the entire page larger? either way, i want to override this with either css or javascript.

any help is appreciated!
marcus

Popular posts from this blog

Automated Testing with Behat & Mink on Linux

Have time to read my introduction. Behat + Mink + Selenium Server will do the automatic testing for your website. Behat handles your test cases in a form of a sentence which consist of the following Feature - which is a description of your test case. Example is "Title Checking" Scenario - Feature consist of Scenario's Conditions - Scenario's consist of condition using the following tags "Given", "When", "Then", "And", "But" Example feature:  Feature: Google Search @javascript Scenario: Check Google Site When I go to " http://www.google.com " Then Capture a ScreenShot @javascript Scenario: Search Efren on Google Given I am on " http://www.google.com " When I input "Efren" in " gbqfq" element When press " Google Search " Then print current URL Then Capture a ScreenShot You need t

take a snapshot online via your webcam

I'm fully newbie on flash but I manage to mix php and flash, i had a client which prefer a web cam app online, well that was 2007 ago, but when i notice y flash had this feature accessing a client web cam i was thinking if i can do some snapshot on it. well I've done it. to those who needs my app email me or leave you email here. well i might come out with free version but maybe with some banners on just for the just for a credit on my own. and also to those who wants some sample I can update my site upon your request.

Initial Installation of RoR Centos, Fedora, Redhat

# yum install ruby # y um install gcc g++ make automake autoconf curl-devel openssl-devel zlib-devel httpd-devel apr-devel apr-util-devel sqlite-devel # yum install ruby-rdoc ruby-devel # y um install rubygems # mkdir ~/src # cd ~/src # wget http://production.cf.rubygems.org/rubygems/rubygems-2.2.2.tgz # cd rubygems-1.3.6 # ruby setup.rb Install Rails # gem update # gem update --system # gem install rails # gem install rails -V -----DONE