mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:07:35 +00:00
LibGfx: Move POINTS_PER_INCH, DEFAULT_DPI to VectorFont.h
...so we can use it in OpenType/Font.cpp. No behavior change.
This commit is contained in:
parent
c24652bd2e
commit
073e2bffcb
2 changed files with 3 additions and 3 deletions
|
@ -12,9 +12,6 @@
|
|||
#include <LibGfx/Font/Font.h>
|
||||
#include <LibGfx/Font/VectorFont.h>
|
||||
|
||||
#define POINTS_PER_INCH 72.0f
|
||||
#define DEFAULT_DPI 96
|
||||
|
||||
namespace Gfx {
|
||||
|
||||
struct GlyphIndexWithSubpixelOffset {
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
#include <LibGfx/Forward.h>
|
||||
#include <LibGfx/Path.h>
|
||||
|
||||
#define POINTS_PER_INCH 72.0f
|
||||
#define DEFAULT_DPI 96
|
||||
|
||||
namespace Gfx {
|
||||
|
||||
class ScaledFont;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue