2a354509bb75e7162112bdcd5bed2f9bb02dce78 lrnassar Wed Jun 25 10:48:16 2025 -0700 Tweaking the wording to be clearer on how to make publication images, refs #29394 diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 689877d5ed6..cb50e894cbc 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -9988,45 +9988,46 @@ pdfFile = convertEpsToPdf(psTn.forCgi); if (strlen(ideoPsTn.forCgi)) ideoPdfFile = convertEpsToPdf(ideoPsTn.forCgi); if (pdfFile != NULL) { printf("<UL style=\"margin-top:5px;\">\n"); printf("<LI>Download <A TARGET=_blank HREF=\"%s\">" "the current browser graphic in PDF</A>\n", pdfFile); if (ideoPdfFile != NULL) printf("<LI>Download <A TARGET=_blank HREF=\"%s\">" "the current chromosome ideogram in PDF</A>\n", ideoPdfFile); printf("</UL>\n"); freez(&pdfFile); freez(&ideoPdfFile); - printf("If you require a bitmap image in PNG or TIFF format, note that the PDF format \n"); - printf("is vector-based and can be easily opened in any software that opens PDF/SVG vector files. You can use these to edit the screenshot\n"); - printf("and many publishers accept PDF or SVG files for figures. \n"); - printf("If you publisher requires bitmap images such as TIFF or PNG, use your vector graphics program to export to these \n"); + printf("If you require a bitmap image in <b>PNG</b> or <b>TIFF format</b>, note that PDF format \n"); + printf("is vector-based and can be opened in any software that opens PDF/SVG vector files. You can use these to edit the screenshot.\n"); + printf("Many publishers also accept PDF or SVG files for figures. <br><br>\n"); + printf("If your publisher requires bitmap images such as PNG or TIFF, use your vector graphics program to export to these \n"); printf("formats. For this export, use the publishers recommended dpi (dots per inch value), usually 300 dpi.\n"); // see redmine #1077 printf("<div style=\"margin-top:15px\">Tips for producing quality images for publication:</div>\n"); printf("<UL style=\"margin-top:0px\">\n"); printf("<LI>Add assembly name and chromosome range to the image on the\n" "<A HREF=\"hgTrackUi?g=ruler\">configuration page of the base position track</A>.\n"); - printf("<LI>If using the UCSC Genes track, consider showing only one transcript per gene by turning off splice variants on the track configuration page.\n"); + printf("<LI>If using the default genes track (e.g. GENCODE for hg38 or UCSC Genes for older assemblies),\n" + "consider showing only one transcript per gene by turning off splice variants on the track configuration page.\n"); printf("<LI>Increase the font size and remove the light blue vertical guidelines in the \n" "<A HREF=\"hgTracks?hgTracksConfigPage=configure\">image configuration menu</A>."); - printf("<LI>In the image configuration menu, change the size of the image,\n" + printf("<LI>Change the size of the image in the image configuration menu\n" "to make it look more square.\n"); printf("</UL>\n"); printf("</div>\n"); } else printf("<BR><BR>PDF format not available"); printf("<a href='%s?%s=%s'><input type='button' VALUE='Return to Browser'></a>\n", hgTracksName(), cartSessionVarName(), cartSessionId(cart)); } void setRulerMode() /* Set the rulerMode variable from cart. */