Skip to content

Commit

Permalink
+++
Browse files Browse the repository at this point in the history
  • Loading branch information
Offirmo committed Jun 2, 2024
1 parent cf452cc commit 6118093
Show file tree
Hide file tree
Showing 14 changed files with 98 additions and 140 deletions.
8 changes: 0 additions & 8 deletions stack--2022/9-rpg/font--comics/src/_reference/index.css

This file was deleted.

12 changes: 0 additions & 12 deletions stack--2022/9-rpg/font--comics/src/_reference/index.stories.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/*********************/

/*
@font-face {
font-family: 'TEST';
src: url('Ames-Regular.otf');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,27 @@ import { All } from '../__shared/use-cases.stories'

import './index.css'

const KLASS = 'omr⋄font⁚TEST'

export function FontDemoⵧraw() {
return `
<div class="omr⋄font⁚TEST">
<div class="${KLASS}--raw">
${DemoꓽAll()}
</div>
`
}

export function Calibration() {
return `
<div class="omr⋄font⁚TEST">
<div class="${KLASS}">
${_Norm()}
</div>
`
}

export function FontDemoⵧCalibrated() {
return `
<div class="omr⋄font⁚TEST">
<div class="${KLASS}">
${DemoꓽAll()}
</div>
`
Expand All @@ -31,7 +32,7 @@ ${DemoꓽAll()}

export function UseCases() {
return `
<div class="omr⋄font⁚TEST">
<div class="${KLASS}">
${All()}
</div>
`
Expand Down
35 changes: 35 additions & 0 deletions stack--2022/9-rpg/font--comics/src/ames--free/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@


/*********************/

@font-face {
font-family: 'Ames--Free--Raw';
src: url('regular.otf');
}

.omr⋄font⁚Ames--Free--raw {
font-family: 'Ames--Free--Raw', sans-serif;
}

/*********************/

@font-face {
font-family: 'Ames--Free';
src: url('regular.otf');
size-adjust: 75%;
ascent-override: 87%;
descent-override: 20%;
line-gap-override: 0%;
}

.omr⋄font⁚Ames--Free {
font-family: 'Ames--Free', sans-serif;
--o⋄font-family--main: 'Ames--Free', sans-serif;
line-height: 1; /* comic fonts are to be used in small ballons + don't have ascend/descend, hence look better lh1, cf. Blambot tip #7 */
/*font-stretch: 150%;*/
/*letter-spacing: .02em;*/
/*font-synthesis: style small-caps weight position;*/
/* font-variant-numeric */
}

/*********************/
39 changes: 39 additions & 0 deletions stack--2022/9-rpg/font--comics/src/ames--free/index.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import { Normalization as _Norm, DemoꓽAll } from '@offirmo-private/storypad/src/__shared/stories/css/typography/index.stories.ts'
import { All } from '../__shared/use-cases.stories'

import './index.css'

const KLASS = 'omr⋄font⁚Ames--free'

export function FontDemoⵧraw() {
return `
<div class="${KLASS}--raw">
${DemoꓽAll()}
</div>
`
}

export function Calibration() {
return `
<div class="${KLASS}">
${_Norm()}
</div>
`
}

export function FontDemoⵧCalibrated() {
return `
<div class="${KLASS}">
${DemoꓽAll()}
</div>
`
}


export function UseCases() {
return `
<div class="${KLASS}">
${All()}
</div>
`
}
11 changes: 11 additions & 0 deletions stack--2022/9-rpg/font--comics/src/ames--free/license.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
https://purastik.net/ames/e.html

LICENSE AGREEMENT

Ames © Päivi Toikka, All Rights Reserved. This font file may not be redistributed without my permission. Ames is a freeware font for independent comic creation and non-profit use only. Basically, this means:
Anyone may use this font for non-profit projects.
You may use this font for profit on comics of your own creation.
You may not use this font for profit on comics that have not been created by you.
Any other commercial use not listed above is not allowed.
For other commercial use, please check out Ames Pro.
If you have questions, please contact me at pjtoikka (at) gmail.com.
Binary file not shown.
3 changes: 2 additions & 1 deletion stack--2022/9-rpg/font--comics/src/deevad-hand/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
font-family: 'DeevadHand', sans-serif;
--o⋄font-family--main: 'DeevadHand', sans-serif;
line-height: 1; /* comic fonts are to be used in small ballons + don't have ascend/descend, hence look better lh1, cf. Blambot tip #7 */
font-stretch: 150%;
/*font-stretch: 150%;*/
letter-spacing: .02em;
/*font-synthesis: style small-caps weight position;*/
/* font-variant-numeric */
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,27 @@ import { All } from '../__shared/use-cases.stories'

import './index.css'

const KLASS = 'omr⋄font⁚DeevadHand'

export function FontDemoⵧraw() {
return `
<div class="omr⋄font⁚DeevadHand--raw">
<div class="${KLASS}--raw">
${DemoꓽAll()}
</div>
`
}

export function Calibration() {
return `
<div class="omr⋄font⁚DeevadHand">
<div class="${KLASS}">
${_Norm()}
</div>
`
}

export function FontDemoⵧCalibrated() {
return `
<div class="omr⋄font⁚DeevadHand">
<div class="${KLASS}">
${DemoꓽAll()}
</div>
`
Expand All @@ -31,7 +32,7 @@ ${DemoꓽAll()}

export function UseCases() {
return `
<div class="omr⋄font⁚DeevadHand">
<div class="${KLASS}">
${All()}
</div>
`
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

0 comments on commit 6118093

Please sign in to comment.