You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Kallol Chaudhuri <ka...@tcs.com> on 2015/11/12 18:17:55 UTC

Adjusting font weight with pdfbox 1.8.10

 Hi
Is there a way to increase font weight to make it darker using pdfbox-1.8.10.
Could you please share a working sample.
 
Thanks and regards
Kallol Chaudhuri
Banking Technology Group - North America

Tata Consultancy Services
Ph:-   +91-33-66368526
Cell:- 9830270256
Mailto: kallol.chaudhuri@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.	IT Services
			Business Solutions
			Consulting
____________________________________________ 

 -----Kallol Chaudhuri/KOL/TCS@TCS wrote: -----

 =======================
 To: users@pdfbox.apache.org
 From: Kallol Chaudhuri/KOL/TCS@TCS
 Date: 11/12/2015 07:57PM 
 Subject: Alignment issue with pdfbox 1.8.10
 =======================
   Hi
Facing left alignment issue while using pdfbox 1.8.10 from an applet.
Code used :-
Pddocument.load followed by
Pddocument.silentPrint().

Please help.


Thanks and regards
Kallol Chaudhuri
Banking Technology Group - North America

Tata Consultancy Services
Ph:-   +91-33-66368526
Cell:- 9830270256
Mailto: kallol.chaudhuri@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.	IT Services
			Business Solutions
			Consulting
____________________________________________ 

 -----Maruan Sahyoun <sa...@fileaffairs.de> wrote: -----

 =======================
 To: Kallol Chaudhuri <ka...@tcs.com>
 From: Maruan Sahyoun <sa...@fileaffairs.de>
 Date: 11/12/2015 07:46PM 
 Subject: Re: Returned post for dev@pdfbox.apache.org
 =======================
   Hi,

because you double posted to dev@pdfbox.apache.org <ma...@pdfbox.apache.org> and users@pdfbox.apache.org <ma...@pdfbox.apache.org>

users@pdfbox.apache.org <ma...@pdfbox.apache.org> would be the correct mailing list!

BR
Maruan

> Am 12.11.2015 um 15:13 schrieb Kallol Chaudhuri <ka...@tcs.com>:
> 
> Any reason why this hasn't been accepted. This is a genuine issue with 1.8.10.
> How could you afford to ignore this.
> 
> Thanks and regards
> Kallol Chaudhuri
> Banking Technology Group - North America
> 
> Tata Consultancy Services
> Ph:-   +91-33-66368526
> Cell:- 9830270256
> Mailto: kallol.chaudhuri@tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.	IT Services
> 			Business Solutions
> 			Consulting
> ____________________________________________ 
> 
> -----dev-owner@pdfbox.apache.org wrote: -----
> 
> =======================
> To: kallol.chaudhuri@tcs.com
> From: dev-owner@pdfbox.apache.org
> Date: 11/12/2015 07:31PM 
> Subject: Returned post for dev@pdfbox.apache.org
> =======================
> 
> Hi! This is the ezmlm program. I'm managing the
> dev@pdfbox.apache.org mailing list.
> 
> I'm working for my owner, who can be reached
> at dev-owner@pdfbox.apache.org.
> 
> I'm sorry, your message (enclosed) was not accepted by the moderator.
> If the moderator has made any comments, they are shown below.
> 
> 
> ----- Message from Kallol Chaudhuri <ka...@tcs.com> on Thu, 12 Nov 2015 18:27:45 +0530 -----
> 
> To:  users@pdfbox.apache.org,<br>
> 	dev@pdfbox.apache.org,<br>
> 	commits@pdfbox.apache.org
> cc:  Sridhar So <sr...@tcs.com>,<br>
> 	Sankar Sangili <sa...@tcs.com>
> Subject:  Left alignment issue with pdfbox-1.8.10 
> 
> Hi
> I am using pdfbox-1.8.10 for printing pdf documents from an applet.
> But I am getting a left alignment issue. Could you please help?
> 
> Code used :- 
> PDDocument pdDocument = PDDocument.load("D://Documents//bitcoin//Decodedpdf.pdf");
> pdDocument .silentPrint()
> 
> 
> Thanks and regards
> Kallol Chaudhuri
> Banking Technology Group - North America
> 
> Tata Consultancy Services
> Ph:-   +91-33-66368526
> Cell:- 9830270256
> Mailto: kallol.chaudhuri@tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.	IT Services
> Business Solutions
> Consulting
> ____________________________________________
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
> 
> 

        

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Re: Adjusting font weight with pdfbox 1.8.10

Posted by Tilman Hausherr <TH...@t-online.de>.
Am 12.11.2015 um 18:17 schrieb Kallol Chaudhuri:
>   Hi
> Is there a way to increase font weight to make it darker using pdfbox-1.8.10.

Assuming this is about creating a PDF:

Normally, you need to use a different font, e.g. Arial Bold instead of 
Arial.

A somewhat advanced trick would be to use text rendering mode 2 (see 
Text Rendering Mode in the PDF spec), this makes glyphs look "fat".

If it is about printing a PDF: no.

Tilman


> Could you please share a working sample.




>   
> Thanks and regards
> Kallol Chaudhuri
> Banking Technology Group - North America
>
> Tata Consultancy Services
> Ph:-   +91-33-66368526
> Cell:- 9830270256
> Mailto: kallol.chaudhuri@tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.	IT Services
> 			Business Solutions
> 			Consulting
> ____________________________________________
>
>   -----Kallol Chaudhuri/KOL/TCS@TCS wrote: -----
>
>   =======================
>   To: users@pdfbox.apache.org
>   From: Kallol Chaudhuri/KOL/TCS@TCS
>   Date: 11/12/2015 07:57PM
>   Subject: Alignment issue with pdfbox 1.8.10
>   =======================
>     Hi
> Facing left alignment issue while using pdfbox 1.8.10 from an applet.
> Code used :-
> Pddocument.load followed by
> Pddocument.silentPrint().
>
> Please help.
>
>
> Thanks and regards
> Kallol Chaudhuri
> Banking Technology Group - North America
>
> Tata Consultancy Services
> Ph:-   +91-33-66368526
> Cell:- 9830270256
> Mailto: kallol.chaudhuri@tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.	IT Services
> 			Business Solutions
> 			Consulting
> ____________________________________________
>
>   -----Maruan Sahyoun <sa...@fileaffairs.de> wrote: -----
>
>   =======================
>   To: Kallol Chaudhuri <ka...@tcs.com>
>   From: Maruan Sahyoun <sa...@fileaffairs.de>
>   Date: 11/12/2015 07:46PM
>   Subject: Re: Returned post for dev@pdfbox.apache.org
>   =======================
>     Hi,
>
> because you double posted to dev@pdfbox.apache.org <ma...@pdfbox.apache.org> and users@pdfbox.apache.org <ma...@pdfbox.apache.org>
>
> users@pdfbox.apache.org <ma...@pdfbox.apache.org> would be the correct mailing list!
>
> BR
> Maruan
>
>> Am 12.11.2015 um 15:13 schrieb Kallol Chaudhuri <ka...@tcs.com>:
>>
>> Any reason why this hasn't been accepted. This is a genuine issue with 1.8.10.
>> How could you afford to ignore this.
>>
>> Thanks and regards
>> Kallol Chaudhuri
>> Banking Technology Group - North America
>>
>> Tata Consultancy Services
>> Ph:-   +91-33-66368526
>> Cell:- 9830270256
>> Mailto: kallol.chaudhuri@tcs.com
>> Website: http://www.tcs.com
>> ____________________________________________
>> Experience certainty.	IT Services
>> 			Business Solutions
>> 			Consulting
>> ____________________________________________
>>
>> -----dev-owner@pdfbox.apache.org wrote: -----
>>
>> =======================
>> To: kallol.chaudhuri@tcs.com
>> From: dev-owner@pdfbox.apache.org
>> Date: 11/12/2015 07:31PM
>> Subject: Returned post for dev@pdfbox.apache.org
>> =======================
>>
>> Hi! This is the ezmlm program. I'm managing the
>> dev@pdfbox.apache.org mailing list.
>>
>> I'm working for my owner, who can be reached
>> at dev-owner@pdfbox.apache.org.
>>
>> I'm sorry, your message (enclosed) was not accepted by the moderator.
>> If the moderator has made any comments, they are shown below.
>>
>>
>> ----- Message from Kallol Chaudhuri <ka...@tcs.com> on Thu, 12 Nov 2015 18:27:45 +0530 -----
>>
>> To:  users@pdfbox.apache.org,<br>
>> 	dev@pdfbox.apache.org,<br>
>> 	commits@pdfbox.apache.org
>> cc:  Sridhar So <sr...@tcs.com>,<br>
>> 	Sankar Sangili <sa...@tcs.com>
>> Subject:  Left alignment issue with pdfbox-1.8.10
>>
>> Hi
>> I am using pdfbox-1.8.10 for printing pdf documents from an applet.
>> But I am getting a left alignment issue. Could you please help?
>>
>> Code used :-
>> PDDocument pdDocument = PDDocument.load("D://Documents//bitcoin//Decodedpdf.pdf");
>> pdDocument .silentPrint()
>>
>>
>> Thanks and regards
>> Kallol Chaudhuri
>> Banking Technology Group - North America
>>
>> Tata Consultancy Services
>> Ph:-   +91-33-66368526
>> Cell:- 9830270256
>> Mailto: kallol.chaudhuri@tcs.com
>> Website: http://www.tcs.com
>> ____________________________________________
>> Experience certainty.	IT Services
>> Business Solutions
>> Consulting
>> ____________________________________________
>> =====-----=====-----=====
>> Notice: The information contained in this e-mail
>> message and/or attachments to it may contain
>> confidential or privileged information. If you are
>> not the intended recipient, any dissemination, use,
>> review, distribution, printing or copying of the
>> information contained in this e-mail message
>> and/or attachments to it are strictly prohibited. If
>> you have received this communication in error,
>> please notify us by reply e-mail or telephone and
>> immediately and permanently delete the message
>> and any attachments. Thank you
>>
>>
>>
>          
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org