Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
- Timestamp:
-
03/01/11 17:32:43 (13 years ago)
- Author:
-
ajpatterson
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
-
Property
Status
changed from
new
to
accepted
- Property Cc wmoore added
-
Property
Remaining Time
changed from
to
0.1
-
initial
|
v3
|
|
4 | 4 | * fontFamily describing font. |
5 | 5 | |
| 6 | The terms we have in fontFamily are probably wrong, but the miss-use is very common. In general use on the web they can either be a specific font family name (e.g.Times, or Ariel) or a generic family name. Thought in HTML/CSS you can list several in the attribute and they will be used in order if available on the system. This is nice and flexible but leads for complex string you need to parse. From the CSS/HTML spec suitable generic values are: |
| 7 | * serif |
| 8 | * sans-serif |
| 9 | * cursive |
| 10 | * fantasy |
| 11 | * monospace |
| 12 | |
| 13 | I recommend we just need to have an enum of: |
| 14 | * serif |
| 15 | * sans-serif |
| 16 | * monospace |
| 17 | |
| 18 | The value we have for fontStyle is not correct either. We are using it as a combination for style and weight. |
| 19 | |
| 20 | From the CSS/HTML spec suitable values for style are: |
| 21 | * normal |
| 22 | * italic |
| 23 | * oblique |
| 24 | |
| 25 | I had to check what the difference between italic and oblique was. Oblique is the normal letter shapes but slanted forward. Italic is also slanted forward but has different (normally more curved/flowing) letter shapes. |
| 26 | |
| 27 | From the CSS/HTML spec suitable values for weight are: |
| 28 | * normal |
| 29 | * bold |
| 30 | * bolder |
| 31 | * lighter |
| 32 | * or a numeric value from (100,200,300,400,500,600,700,800,900) |
| 33 | |
| 34 | I recommend we just need to have an attribute called perhaps fontStyleAndWeight using an enum of: |
| 35 | * normal |
| 36 | * italic |
| 37 | * bold |
| 38 | * bolditalic |
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.21693 sec.)