D
D
DTX2016-09-19 00:00:17
css
DTX, 2016-09-19 00:00:17

How to combine multiple fonts into a file?

There are several font files.
Superfont-regular.otf
Superfont-thin.otf
Superfont-bold.otf
Superfont-light.otf
Can they be combined into one file and used from there?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dom1n1k, 2016-09-19
@DirecTwiX

If you mean getting a single font file, you can't.
If the file format doesn't care, the main thing is to reduce the number of requests to the server - well, you can put everything in CSS in the form of base64 (although this is less flexible and there are limitations in old explorers).

O
Oleg, 2016-09-19
@werty1001

No.

A
Alexey, 2016-09-19
@lunpully

Unless via font- face . Using other technologies: cufon type, etc. You can sort of, but naturally there will be pluses and minuses. It's just that the fontface involves connecting a separate file for a separate style.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question