You are definitely trading damage for both the protection of range as well as the reduced action requirements by not having to move.
The deadly traits on bows should help make up the difference and picking something like composite short bow will give you some of strength mod towards damage of you have one.
Most classes do have feats that improve ranged options as well, fighter in particular has great options like point blank shot and double shot. At higher levels you can take one of the strongest feats in the game Debilitating shot.
Rogue is a bit tricker because at range you give up a few easy ways to get enemies off guard (flanking and feinting). You can go thief racket though to pickup that extra dex damage and then maybe invest in intimidate and take Dread Striker?
Ah you are right, thief racket is melee only. No throwing daggers or anything. I haven't looked at that racket in a bit and remembered wrong.
For a rogue it looks like picking up a dedication like Ranger would be the best way to get useful ranged abilities.