You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (JIRA)" <ji...@apache.org> on 2019/04/26 00:06:00 UTC
[jira] [Resolved] (NETBEANS-2463) Print to HTML - wrong font-family
[ https://issues.apache.org/jira/browse/NETBEANS-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi resolved NETBEANS-2463.
---------------------------------------
Resolution: Fixed
Fix Version/s: Next
Thanks for the patch and the issue report Michal!
> Print to HTML - wrong font-family
> ---------------------------------
>
> Key: NETBEANS-2463
> URL: https://issues.apache.org/jira/browse/NETBEANS-2463
> Project: NetBeans
> Issue Type: Bug
> Components: editor - Painting & Printing
> Affects Versions: 8.2, 9.0, 10.0, 11.0
> Environment: Windows
> Reporter: Michal Pudivitr
> Priority: Trivial
> Labels: pull-request-available
> Fix For: Next
>
> Attachments: HtmlPrintContainer.html
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Using File > Print to HTML will produce HTML with misspelled font family (font-family: Monospace{color:#d04437}*d*{color} instead of "monospace"). The result is rendered with the browser's default (non-monospace) font.
> Steps to reproduce:
> # Create or open any java file
> # go to File > Print to HTML > Print to file
> # open generated HTML file (result will not be rendered with proper font due to wrong font-family)
> # (optional) edit html file replacing all occurrences of "monospace*d*" with "monospace" and see the file is now rendered correctly.
> It seems this minor bug was already reported in year 2013 under [Bug 236506|https://netbeans.org/bugzilla/show_bug.cgi?id=236506] but the ticked was closed unresolved.
> Refer to [https://www.w3.org/Style/Examples/007/fonts] for more about font families.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists