Since it is a Google Web font you need not to write @font-face
in you style sheet just use following link tag in your source code:
<link href='http://fonts.googleapis.com/css?family=Jolly+Lodger' rel='stylesheet' type='text/css'>
and
<style type = "text/css">
p { font-family: 'Jolly Lodger', cursive; }
</style>
will work.
By the way, in your code you are defining @font-face
family as font-family: Jolly;
and using it as p { font-family: 'Jolly Lodger', cursive; }
that is wrong, because it's mismatching font-family name.
Here is the basic command to generate one MPEG2 TS file containing multiple programs.
ffmpeg -i FirstInput -i SecondInput \
-map 0:0 -map 0:1 -map 1:0 -map 1:1 \
-program title=ProgOne:st=0:st=1 -program title=ProgTwo:st=2:st=3 \
-f mpegts mpts.ts
Belowing is simple illustrations for every option.
-i FirstInput -i SecondInput
Select the source files which contains the elementary streams you want to multiplex into the output MPTS
-map 0:0 -map 0:1 -map 1:0 -map 1:1
Select the particular elementry streams you want to multiplex into the output MPTS. The streams will be indexed from zero.
Here we select the first and second streams for both files. Normally they correspond to the video and audio stream.
See the Advance options chapter of FFmpeg documentation and wiki for -map.
-program title=ProgOne:st=0:st=1 -program ProgTwo:st=2:st=3
Tell FFmpeg to generate two programs in the output MPTS. Here title
gives the service_name in SDT. st=
specifies the streams put in the corresponding program. See the Main options chapter of FFmpeg ddocumentation
-f mpegts
Tell FFmpeg use mpegts muxer in case that it cannot be inferred from the suffix of output file.
The key options are -map and -program to multiplex several programs in one output. The enhancement was added in this commit according to issue 4734 and issue 4525.
Obviously more options can be added to tune the behaviour, such as codec type, bitrate control, quality control and etc.
Best Answer
Try Arman H.'s solution posted over on this question: Google Web Fonts and PDF generation from HTML with wkhtmltopdf
Base64 encoding the fonts into your css has worked like a charm for us.