Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4622682
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:52:41+00:00 2026-05-22T02:52:41+00:00

How do I change the font size to export the pdf at datatables plug

  • 0

How do I change the font size to export the pdf at datatables plug in?
I looked at the sources and could not find where does it!

any body can help me??
thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:52:42+00:00Added an answer on May 22, 2026 at 2:52 am

    As Adam stated, you must modify the action script. In TableTools 2.0.1 the file i the one that Adam stated.
    In the action script Fonts are defined on line 212 for the title:

            pdf.setFont( new CoreFont(FontFamily.HELVETICA), 14 );//14 is the font size
            if ( title != "" )
            {
                pdf.writeText(11, title+"\n");
            }
    

    and on line 218 for the other text

            pdf.setFont( new CoreFont(FontFamily.HELVETICA), 11 );
            if ( message != "" )
            {
                pdf.writeText(11, message+"\n");
            }
    

    There is full reference for the library used to generate the PDF (i point out the font-part) here : http://alivepdf.bytearray.org/alivepdf-asdoc/org/alivepdf/fonts/FontFamily.html

    After you have modified the action script you must compile a new copy_cvs_xls_pdf.swf with the command found on top of the action script file:
    Compile using: mxmlc –target-player=10.0.0 -static-link-runtime-shared-libraries=true -library-path+=lib ZeroClipboardPdf.as

    You’ll need the Flex 4 SDK to build the SWF – which you can get free from the Adobe open source pages.

    I tried it and it works.

    You should always check out http://datatables.net/forums/ also, i found this that helped me compile the file!

    hope it helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Could you let me know how can I change font size of button caption
I'm not able to change font size using Jquery. I want to change font
Does anybody knows a way to change the font size of the editor tabs
I want to change the font-size of the text in a tab. This does
is there any way to change font size, font color etc properties at run
Is there any way to change the font size of terminal window(GNOME or KDE)
How do I change font size on the DataGridView?
How can I change the font size in a ListView element? In my main.xml
How do you change the font and font size in the themed button widget
Is it possible to change the font size used in a ContextMenu using the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.