You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/06/03 06:49:00 UTC

[jira] [Comment Edited] (PDFBOX-4558) The issue about emulate a bold font

    [ https://issues.apache.org/jira/browse/PDFBOX-4558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16854273#comment-16854273 ] 

Tilman Hausherr edited comment on PDFBOX-4558 at 6/3/19 6:48 AM:
-----------------------------------------------------------------

Call
{code}
contentStream.setLineWidth(0.5f);
{code}
before {{contentStream.beginText()}} is called. That changes the stroke width. The default is 1.


was (Author: tilman):
Call
{code}
contentStream.setLineWidth(0.5f);
{code}
before {{contentStream.beginText()}} is called. That changes the stroke width.

> The issue about emulate a bold font 
> ------------------------------------
>
>                 Key: PDFBOX-4558
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4558
>             Project: PDFBox
>          Issue Type: Improvement
>            Reporter: bai yuan
>            Priority: Minor
>              Labels: how-to
>
> I simulate the bold font by usingĀ {{contentStream.setRenderingMode(RenderingMode.FILL_STROKE)}}.But the effect is too thick, how can I modify the width of the additional bolding?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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