In every case in which any court is this county shall impose a fine, which shall be construed to include cost, for any offense against a criminal or traffic law of the state or any offense against a court ordinance, there shall be imposed as an additional penalty a sum equal to ten percent of the original fine.