mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[poincare/unit][kandinsky/font] Use Greek capital letter omega as Ohm unit symbol
This commit is contained in:
committed by
Léa Saviot
parent
3308427dd4
commit
7964a2ae6a
Binary file not shown.
Binary file not shown.
@@ -131,6 +131,7 @@ uint32_t CodePoints[] = {
|
||||
|
||||
0x393, // Γ // GREEK CAPITAL LETTER GAMMA
|
||||
0x394, // Δ // GREEK CAPITAL LETTER DELTA
|
||||
0x3a9, // Ω // GREEK CAPITAL LETTER OMEGA
|
||||
0x3b8, // θ // GREEK SMALL LETTER THETA
|
||||
0x3bb, // λ // GREEK SMALL LETTER LAMDA
|
||||
0x3bc, // μ // GREEK SMALL LETTER MU
|
||||
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
CodePoint m_codePoint;
|
||||
GlyphIndex m_glyphIndex;
|
||||
};
|
||||
static constexpr GlyphIndex IndexForReplacementCharacterCodePoint = 132;
|
||||
static constexpr GlyphIndex IndexForReplacementCharacterCodePoint = 133;
|
||||
GlyphIndex indexForCodePoint(CodePoint c) const;
|
||||
|
||||
void setGlyphGreyscalesForCodePoint(CodePoint codePoint, GlyphBuffer * glyphBuffer) const;
|
||||
|
||||
@@ -341,9 +341,9 @@ public:
|
||||
LongScalePrefixes, LongScalePrefixesCount),
|
||||
},
|
||||
ElectricResistanceRepresentatives[] = {
|
||||
Representative("Ohm", "_kg*_m^2*_s^-3*_A^-2",
|
||||
Representative("Ω", "_kg*_m^2*_s^-3*_A^-2",
|
||||
Representative::Prefixable::Yes,
|
||||
LongScalePrefixes, LongScalePrefixesCount), //FIXME Omega CodePoint?
|
||||
LongScalePrefixes, LongScalePrefixesCount),
|
||||
},
|
||||
ElectricConductanceRepresentatives[] = {
|
||||
Representative("S", "_A^2*_s^3*_kg^-1*_m^-2",
|
||||
|
||||
Reference in New Issue
Block a user