Skip to content
#

typesetting

Here are 95 public repositories matching this topic...

Robinlovelace
Robinlovelace commented Apr 9, 2020

I followed the advice in https://pagedown.rbind.io/#the-css-overriding-mechanism but my font would not change. Having played around a bit with the settings and the CSS I realised that I needed to add

/* font location goes here:*/
@import 'https://fonts.googleapis.com/css?family=Comic+Neue';

Before the body to made the font available.

The whole of the CSS for custom font now

brechtm
brechtm commented Mar 3, 2020

The first flowable on a page receives descender=0 on rendering. This causes a difference in the rendering of the two admonitions below:

.. Hint:: It's bigger than a bread box.

.. Hint:: It's bigger than a bread box.

When rendering a top border, the cursor should probably be moved by - descender and the descender passed to the content should equal 0.

Something similar ne

exogen
exogen commented Oct 10, 2018

Unfortunately for TightenText, Safari rounds font sizes to whole pixels as soon as it crosses the half-pixel boundary. This leads to a significant jump in how wide the text is, and also potentially means the resulting text is smaller than the developer's desired minFontSize (if, say, they want it to be 0.97 ems, and that results in a font size of 15.49px, Safari will render 15px text).

Some

Improve this page

Add a description, image, and links to the typesetting topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the typesetting topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.